Class ImageParser
java.lang.Object
org.apache.juneau.Context
org.apache.juneau.BeanContextable
org.apache.juneau.parser.Parser
org.apache.juneau.parser.InputStreamParser
org.apache.juneau.examples.parser.ImageParser
- All Implemented Interfaces:
- AnnotationProvider
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.juneau.parser.InputStreamParserInputStreamParser.BuilderNested classes/interfaces inherited from class org.apache.juneau.parser.ParserParser.Null
- 
Field SummaryFields inherited from class org.apache.juneau.ContextCONTEXT_APPLY_FILTERFields inherited from interface org.apache.juneau.AnnotationProviderDEFAULT, DISABLE_ANNOTATION_CACHING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T> TdoParse(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method.Methods inherited from class org.apache.juneau.parser.InputStreamParsercreate, createSession, getBinaryFormat, getSession, isReaderParser, propertiesMethods inherited from class org.apache.juneau.parser.ParsercanHandle, copy, createParserBuilder, getDebugOutputLines, getListener, getMediaTypes, getPrimaryMediaType, isAutoCloseStreams, isStrict, isTrimStrings, isUnbuffered, parse, parse, parse, parse, parse, parse, parseArgs, parseIntoCollection, parseIntoMapMethods inherited from class org.apache.juneau.BeanContextablegetBeanContextMethods inherited from class org.apache.juneau.ContextcreateBuilder, firstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, init, isDebug, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation, toString
- 
Constructor Details- 
ImageParserpublic ImageParser()
 
- 
- 
Method Details- 
doParsepublic <T> T doParse(ParserSession session, ParserPipe pipe, ClassMeta<T> type) throws IOException, ParseException Description copied from class:ParserWorkhorse method.Subclasses are expected to either implement this method or ParserSession.doParse(ParserPipe, ClassMeta).- Overrides:
- doParsein class- Parser
- Type Parameters:
- T- The class type of the object to create.
- Parameters:
- session- The current session.
- pipe- Where to get the input from.
- type- The class type of the object to create. If- null or- Object., object type is based on what's being parsed. For example, when parsing JSON text, it may return a- class - String ,- Number ,- JsonMap , etc...
- Returns:
- The parsed object.
- Throws:
- IOException- Thrown by underlying stream.
- ParseException- Malformed input encountered.
 
 
-