de.grogra.rgg
public final class FileRef extends ItemReference
| Modifier and Type | Class and Description |
|---|---|
static class |
FileRef.Type |
| Modifier and Type | Field and Description |
|---|---|
static FileRef.Type |
$TYPE |
item, itemResolved, name$FIELD, object, objectResolved| Constructor and Description |
|---|
FileRef(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
IOFlavor |
getFlavor() |
java.io.InputStream |
getInputStream() |
ManageableType |
getManageableType() |
MimeType |
getMimeType() |
java.io.OutputStream |
getOutputStream(boolean append) |
java.io.Reader |
getReader() |
java.io.Writer |
getWriter(boolean append) |
FileSource |
resolve() |
createItem, equals, getName, hashCode, resolveItem, resolveObjectaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final FileRef.Type $TYPE
public IOFlavor getFlavor()
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionpublic ManageableType getManageableType()
public MimeType getMimeType()
public java.io.OutputStream getOutputStream(boolean append)
throws java.io.IOException
java.io.IOExceptionpublic java.io.Reader getReader()
throws java.io.IOException
java.io.IOExceptionpublic java.io.Writer getWriter(boolean append)
throws java.io.IOException
java.io.IOExceptionpublic FileSource resolve()