Package com.floragunn.codova.documents
Class DocReader.DocReaderBuilder
java.lang.Object
com.floragunn.codova.documents.DocReader.DocReaderBuilder
- Enclosing class:
- DocReader
-
Method Summary
Modifier and TypeMethodDescriptionfallbackForEmptyDocuments(Object emptyDocumentFallback) read(byte[] bytes) read(InputStream in) readObject(byte[] bytes) readObject(File file) readObject(Reader in) readObject(String string) splitAttributesAtDotsStartingAtDepth(int handleDottedAttributeNamesAsPathsFromDepth)
-
Method Details
-
read
- Throws:
DocumentParseExceptionIOException
-
read
- Throws:
DocumentParseException
-
read
- Throws:
DocumentParseException
-
read
-
read
- Throws:
DocumentParseExceptionIOException
-
readObject
public Map<String,Object> readObject(Reader in) throws DocumentParseException, IOException, UnexpectedDocumentStructureException -
readObject
public Map<String,Object> readObject(InputStream in) throws DocumentParseException, IOException, UnexpectedDocumentStructureException -
readObject
public Map<String,Object> readObject(String string) throws DocumentParseException, UnexpectedDocumentStructureException -
readObject
public Map<String,Object> readObject(byte[] bytes) throws DocumentParseException, UnexpectedDocumentStructureException -
readObject
public Map<String,Object> readObject(File file) throws UnexpectedDocumentStructureException, DocumentParseException, FileNotFoundException, IOException -
splitAttributesAtDots
-
splitAttributesAtDotsStartingAtDepth
public DocReader.DocReaderBuilder splitAttributesAtDotsStartingAtDepth(int handleDottedAttributeNamesAsPathsFromDepth) -
fallbackForEmptyDocuments
-