|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fasterxml.jackson.core.JsonFactory
com.jasonclawson.jackson.dataformat.hocon.HoconFactory
public class HoconFactory
This code was pretty much copied from the jackson YAMLFactory
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.fasterxml.jackson.core.JsonFactory |
|---|
com.fasterxml.jackson.core.JsonFactory.Feature |
| Field Summary | |
|---|---|
static String |
FORMAT_NAME_HOCON
|
| Fields inherited from class com.fasterxml.jackson.core.JsonFactory |
|---|
_characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _objectCodec, _outputDecorator, _parserFeatures, _recyclerRef, _rootByteSymbols, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, FORMAT_NAME_JSON |
| Constructor Summary | |
|---|---|
HoconFactory()
|
|
HoconFactory(HoconFactory src,
com.fasterxml.jackson.core.ObjectCodec oc)
|
|
HoconFactory(com.fasterxml.jackson.core.ObjectCodec oc)
|
|
| Method Summary | |
|---|---|
protected com.fasterxml.jackson.core.JsonGenerator |
_createGenerator(Writer out,
com.fasterxml.jackson.core.io.IOContext ctxt)
|
protected HoconTreeTraversingParser |
_createParser(byte[] data,
int offset,
int len,
com.fasterxml.jackson.core.io.IOContext ctxt)
|
protected HoconTreeTraversingParser |
_createParser(InputStream in,
com.fasterxml.jackson.core.io.IOContext ctxt)
|
protected HoconTreeTraversingParser |
_createParser(Reader r,
com.fasterxml.jackson.core.io.IOContext ctxt)
|
protected Reader |
_createReader(byte[] data,
int offset,
int len,
com.fasterxml.jackson.core.JsonEncoding enc,
com.fasterxml.jackson.core.io.IOContext ctxt)
|
protected Reader |
_createReader(InputStream in,
com.fasterxml.jackson.core.JsonEncoding enc,
com.fasterxml.jackson.core.io.IOContext ctxt)
|
protected com.fasterxml.jackson.core.JsonGenerator |
_createUTF8Generator(OutputStream out,
com.fasterxml.jackson.core.io.IOContext ctxt)
Deprecated. |
protected Writer |
_createWriter(OutputStream out,
com.fasterxml.jackson.core.JsonEncoding enc,
com.fasterxml.jackson.core.io.IOContext ctxt)
|
HoconFactory |
copy()
|
com.fasterxml.jackson.core.JsonGenerator |
createGenerator(OutputStream out)
|
com.fasterxml.jackson.core.JsonGenerator |
createGenerator(OutputStream out,
com.fasterxml.jackson.core.JsonEncoding enc)
|
com.fasterxml.jackson.core.JsonGenerator |
createGenerator(Writer out)
|
com.fasterxml.jackson.core.JsonGenerator |
createJsonGenerator(OutputStream out)
Deprecated. |
com.fasterxml.jackson.core.JsonGenerator |
createJsonGenerator(OutputStream out,
com.fasterxml.jackson.core.JsonEncoding enc)
Deprecated. |
com.fasterxml.jackson.core.JsonGenerator |
createJsonGenerator(Writer out)
Deprecated. |
HoconTreeTraversingParser |
createJsonParser(byte[] data)
Deprecated. |
HoconTreeTraversingParser |
createJsonParser(byte[] data,
int offset,
int len)
Deprecated. |
HoconTreeTraversingParser |
createJsonParser(File f)
Deprecated. |
HoconTreeTraversingParser |
createJsonParser(InputStream in)
Deprecated. |
com.fasterxml.jackson.core.JsonParser |
createJsonParser(Reader r)
Deprecated. |
HoconTreeTraversingParser |
createJsonParser(String content)
Deprecated. |
HoconTreeTraversingParser |
createJsonParser(URL url)
Deprecated. |
HoconTreeTraversingParser |
createParser(byte[] data)
|
HoconTreeTraversingParser |
createParser(byte[] data,
int offset,
int len)
|
HoconTreeTraversingParser |
createParser(File f)
|
HoconTreeTraversingParser |
createParser(InputStream in)
|
com.fasterxml.jackson.core.JsonParser |
createParser(Reader r)
|
HoconTreeTraversingParser |
createParser(String content)
|
HoconTreeTraversingParser |
createParser(URL url)
|
String |
getFormatName()
|
com.fasterxml.jackson.core.format.MatchStrength |
hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
Sub-classes need to override this method (as of 1.8) |
protected Object |
readResolve()
Method that we need to override to actually make restoration go through constructors etc. |
| Methods inherited from class com.fasterxml.jackson.core.JsonFactory |
|---|
_checkInvalidCopy, _createContext, _createParser, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, _optimizedStreamFromURL, canHandleBinaryNatively, canUseCharArrays, canUseSchema, configure, configure, configure, createGenerator, createJsonGenerator, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getInputDecorator, getOutputDecorator, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, requiresCustomCodec, requiresPropertyOrdering, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator, version |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FORMAT_NAME_HOCON
| Constructor Detail |
|---|
public HoconFactory()
public HoconFactory(com.fasterxml.jackson.core.ObjectCodec oc)
public HoconFactory(HoconFactory src,
com.fasterxml.jackson.core.ObjectCodec oc)
| Method Detail |
|---|
public HoconFactory copy()
copy in class com.fasterxml.jackson.core.JsonFactoryprotected Object readResolve()
readResolve in class com.fasterxml.jackson.core.JsonFactorypublic String getFormatName()
getFormatName in class com.fasterxml.jackson.core.JsonFactory
public com.fasterxml.jackson.core.format.MatchStrength hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
throws IOException
hasFormat in class com.fasterxml.jackson.core.JsonFactoryIOException
public HoconTreeTraversingParser createParser(String content)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
public HoconTreeTraversingParser createParser(File f)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
public HoconTreeTraversingParser createParser(URL url)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
public HoconTreeTraversingParser createParser(InputStream in)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
public com.fasterxml.jackson.core.JsonParser createParser(Reader r)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
public HoconTreeTraversingParser createParser(byte[] data)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
public HoconTreeTraversingParser createParser(byte[] data,
int offset,
int len)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
@Deprecated
public HoconTreeTraversingParser createJsonParser(String content)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createJsonParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
@Deprecated
public HoconTreeTraversingParser createJsonParser(File f)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createJsonParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
@Deprecated
public HoconTreeTraversingParser createJsonParser(URL url)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createJsonParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
@Deprecated
public HoconTreeTraversingParser createJsonParser(InputStream in)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createJsonParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
@Deprecated
public com.fasterxml.jackson.core.JsonParser createJsonParser(Reader r)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createJsonParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
@Deprecated
public HoconTreeTraversingParser createJsonParser(byte[] data)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createJsonParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
@Deprecated
public HoconTreeTraversingParser createJsonParser(byte[] data,
int offset,
int len)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
createJsonParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
public com.fasterxml.jackson.core.JsonGenerator createGenerator(OutputStream out,
com.fasterxml.jackson.core.JsonEncoding enc)
throws IOException
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException
public com.fasterxml.jackson.core.JsonGenerator createGenerator(OutputStream out)
throws IOException
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException
public com.fasterxml.jackson.core.JsonGenerator createGenerator(Writer out)
throws IOException
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException
@Deprecated
public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(OutputStream out,
com.fasterxml.jackson.core.JsonEncoding enc)
throws IOException
createJsonGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException
@Deprecated
public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(OutputStream out)
throws IOException
createJsonGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException
@Deprecated
public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(Writer out)
throws IOException
createJsonGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException
protected HoconTreeTraversingParser _createParser(InputStream in,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
protected HoconTreeTraversingParser _createParser(Reader r,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
protected HoconTreeTraversingParser _createParser(byte[] data,
int offset,
int len,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException,
com.fasterxml.jackson.core.JsonParseException
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOException
com.fasterxml.jackson.core.JsonParseException
protected com.fasterxml.jackson.core.JsonGenerator _createGenerator(Writer out,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException
_createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException
@Deprecated
protected com.fasterxml.jackson.core.JsonGenerator _createUTF8Generator(OutputStream out,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException
_createUTF8Generator in class com.fasterxml.jackson.core.JsonFactoryIOException
protected Writer _createWriter(OutputStream out,
com.fasterxml.jackson.core.JsonEncoding enc,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException
_createWriter in class com.fasterxml.jackson.core.JsonFactoryIOException
protected Reader _createReader(InputStream in,
com.fasterxml.jackson.core.JsonEncoding enc,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException
IOException
protected Reader _createReader(byte[] data,
int offset,
int len,
com.fasterxml.jackson.core.JsonEncoding enc,
com.fasterxml.jackson.core.io.IOContext ctxt)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||