| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.tools.jpeg.JpegCommentHandler
public class JpegCommentHandler
| Field Summary | |
|---|---|
| protected  java.io.InputStream | in | 
| protected  java.io.File | jpegfile | 
| Constructor Summary | |
|---|---|
| JpegCommentHandler(java.io.File jpegfile)create it out of a File | |
| JpegCommentHandler(java.io.InputStream in)create it from an input stream | |
| Method Summary | |
|---|---|
|  java.lang.String | getComment() | 
|  java.io.Writer | getOutputStreamWriter(java.io.OutputStream out)Get this image writer | 
|  java.io.Writer | getOutputStreamWriter(java.io.OutputStream out,
                      java.lang.String enc)Get this image writer | 
|  java.io.Reader | getReader()Get this image reader | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.io.File jpegfile
protected java.io.InputStream in
| Constructor Detail | 
|---|
public JpegCommentHandler(java.io.File jpegfile)
                   throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic JpegCommentHandler(java.io.InputStream in)
| Method Detail | 
|---|
public java.io.Reader getReader()
                         throws java.io.IOException,
                                JpegException
java.io.IOException
JpegException
public java.lang.String getComment()
                            throws java.io.IOException,
                                   JpegException
java.io.IOException
JpegException
public java.io.Writer getOutputStreamWriter(java.io.OutputStream out,
                                            java.lang.String enc)
                                     throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic java.io.Writer getOutputStreamWriter(java.io.OutputStream out)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||