|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.caja.lexer.FetchedData com.google.caja.lexer.FetchedData.BinaryFetchedData
private static class FetchedData.BinaryFetchedData
Field Summary | |
---|---|
private byte[] |
content
|
private InputSource |
src
|
Fields inherited from class com.google.caja.lexer.FetchedData |
---|
charSet, contentType |
Constructor Summary | |
---|---|
FetchedData.BinaryFetchedData(byte[] content,
java.lang.String contentType,
java.lang.String charSet,
InputSource src)
|
Method Summary | |
---|---|
java.io.InputStream |
getBinaryContent()
|
byte[] |
getByteContent()
|
CharProducer |
getTextualContent()
|
Methods inherited from class com.google.caja.lexer.FetchedData |
---|
fromBytes, fromCharProducer, fromConnection, fromReader, fromReader, fromStream, getCharSet, getContentType, readStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final byte[] content
private final InputSource src
Constructor Detail |
---|
FetchedData.BinaryFetchedData(byte[] content, java.lang.String contentType, java.lang.String charSet, InputSource src)
Method Detail |
---|
public CharProducer getTextualContent() throws java.io.UnsupportedEncodingException
getTextualContent
in class FetchedData
java.io.UnsupportedEncodingException
public java.io.InputStream getBinaryContent()
getBinaryContent
in class FetchedData
public byte[] getByteContent()
getByteContent
in class FetchedData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |