|
SmartFrog 3.10.000 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileEntry
Method Summary | |
---|---|
void |
append(byte[] content)
Append data to the file. |
boolean |
exists()
Test for a file existing. |
java.io.File |
getFile()
Get File |
java.lang.Object |
getMetadata()
Get metadata |
java.lang.String |
getMimetype()
Get MIME type |
java.net.URI |
getUri()
Get URI |
java.lang.Object |
lookupMetadata(java.lang.String key)
Look up a piece of metadata |
void |
setMetadata(java.lang.Object metadata)
Set metadata |
void |
setMimetype(java.lang.String mimetype)
Set MIME type |
Method Detail |
---|
java.io.File getFile() throws java.rmi.RemoteException
java.rmi.RemoteException
- In case of network/rmi errorjava.net.URI getUri() throws java.rmi.RemoteException
java.rmi.RemoteException
- In case of network/rmi errorjava.lang.String getMimetype() throws java.rmi.RemoteException
java.rmi.RemoteException
- In case of network/rmi errorvoid setMimetype(java.lang.String mimetype) throws java.rmi.RemoteException
mimetype
- String
java.rmi.RemoteException
- In case of network/rmi errorjava.lang.Object getMetadata() throws java.rmi.RemoteException
java.rmi.RemoteException
- In case of network/rmi errorvoid setMetadata(java.lang.Object metadata) throws java.rmi.RemoteException
metadata
- Object
java.rmi.RemoteException
- In case of network/rmi errorvoid append(byte[] content) throws java.rmi.RemoteException, java.io.IOException
content
- byte array of content
java.rmi.RemoteException
- if something went wrong over the wire
java.io.IOException
- if something went wrong saving the contentboolean exists() throws java.rmi.RemoteException
java.rmi.RemoteException
- In case of network/rmi errorjava.lang.Object lookupMetadata(java.lang.String key) throws java.rmi.RemoteException
key
- String to lookup
java.rmi.RemoteException
- In case of network/rmi error
|
SmartFrog CORE 3.10.000 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |