RResult.ByteBufferInputStream, RResult.InputStreamURLConnection, RResult.ResultType| Constructor and Description |
|---|
FileResult(RRequest request,
File file) |
FileResult(RRequest request,
File path,
String encoding) |
FileResult(RRequest request,
Path path) |
FileResult(RRequest request,
Path path,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteBuffer |
createByteBuffer()
Optional: creates a byte buffer to access the resource.
|
InputStream |
createInputStream()
Optional: creates an input stream to access the resource.
|
URL |
getResourceURL()
Returns the resource as URL, or
null |
RResult.ResultType |
getResultType()
Indicates the native format of this result.
|
asBufferedInputStream, asByteBuffer, asException, asInputStream, asReader, asString, asURLConnection, bufferFrom, bufferFrom, bytesFrom, createReader, createURLConnection, expandSystemId, fromStreamOrBuffer, fromStreamOrBufferOrUrl, fromStreamOrUrl, fromStringOrReader, getBaseUri, getByteBuffer, getCharset, getDefaultUrlConnectionHeader, getEncoding, getInputStream, getPublicId, getReader, getRequest, getResolvedSystemId, getResourceURLOrSystemId, getResult, getString, getSystemId, getUri, getUriOrId, getURLConnection, getWarningsLog, hasResult, readerFrom, resolveSystemId, resolvingException, resourceUnaccessible, setDefaultEncoding, setEncoding, streamFrom, streamFrom, streamFrom, streamFromURLConnection, stringFrom, stringFrom, toString, trySetEncodingpublic RResult.ResultType getResultType()
RResultgetResultType in class RResultpublic InputStream createInputStream() throws IOException
RResultcreateInputStream in class RResultIOExceptionprotected ByteBuffer createByteBuffer() throws Exception
RResultcreateByteBuffer in class RResultExceptionCopyright © 2015. All rights reserved.