|
|||||||||
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(String encMethod,
byte[] encData,
String mimeType,
String uri)
Constructs a new LoadResult |
Method Summary | |
---|---|
String |
getEncodedData()
|
String |
getEncodingMethod()
Returns the encoding associated with the loaded uri. |
String |
getMime()
Returns the mime type associated with the loaded uri. |
byte[] |
getRawData()
|
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(String encMethod, byte[] encData, String mimeType, String uri)
LoadResult
encMethod
- encData
- mimeType
- uri
- Method Detail |
---|
public String getEncodingMethod()
public byte[] getRawData()
public String getEncodedData() throws IOException
IOException
- if base64 encoding is not possible or charset encoding is not supported.public String getMime()
public String getURI()
LoadResult
was loaded.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |