|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxproc.filesystem.XProcFilesystem.LoadResult
public static final class XProcFilesystem.LoadResult
A class wrapping the results from loading a resource from an uri.
Constructor Summary | |
---|---|
XProcFilesystem.LoadResult(java.lang.String encMethod,
byte[] encData,
java.lang.String mimeType,
java.lang.String uri)
Constructs a new LoadResult |
Method Summary | |
---|---|
java.lang.String |
getEncodedData()
|
java.lang.String |
getEncodingMethod()
Returns the encoding associated with the loaded uri. |
java.lang.String |
getMime()
Returns the mime type associated with the loaded uri. |
byte[] |
getRawData()
|
java.lang.String |
getURI()
Returns the uri from which the LoadResult was loaded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XProcFilesystem.LoadResult(java.lang.String encMethod, byte[] encData, java.lang.String mimeType, java.lang.String uri)
LoadResult
encMethod
- encData
- mimeType
- uri
- Method Detail |
---|
public java.lang.String getEncodingMethod()
public byte[] getRawData()
public java.lang.String getEncodedData() throws java.io.IOException
java.io.IOException
- if base64 encoding is not possible or charset encoding is not supported.public java.lang.String getMime()
public java.lang.String getURI()
LoadResult
was loaded.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |