de.grogra.rgg
Class FileRef
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.pf.registry.ItemReference
de.grogra.rgg.FileRef
- All Implemented Interfaces:
- Manageable, Shareable
public final class FileRef
- extends ItemReference
Constructor Summary |
FileRef(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final FileRef.Type $TYPE
FileRef
public FileRef(java.lang.String name)
getFlavor
public IOFlavor getFlavor()
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getManageableType
public ManageableType getManageableType()
getMimeType
public MimeType getMimeType()
getOutputStream
public java.io.OutputStream getOutputStream(boolean append)
throws java.io.IOException
- Throws:
java.io.IOException
getReader
public java.io.Reader getReader()
throws java.io.IOException
- Throws:
java.io.IOException
getWriter
public java.io.Writer getWriter(boolean append)
throws java.io.IOException
- Throws:
java.io.IOException
resolve
public FileSource resolve()