|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xiruss.repository.server.storagemanagement.StorageObjectDataBase org.xiruss.repository.server.storagemanagement.FileStorageObjectData
public class FileStorageObjectData
Storage object data implementation that stores the data as a file on a file system.
Field Summary |
---|
Fields inherited from class org.xiruss.repository.server.storagemanagement.StorageObjectDataBase |
---|
isOpen, so |
Constructor Summary | |
---|---|
FileStorageObjectData(FileStorageManager manager,
StorageObject so)
|
Method Summary | |
---|---|
void |
close()
Closes any open output streams. |
byte[] |
getBytes()
Gets all the bytes of the storage object. |
java.io.InputStream |
getInputStream()
Gets an input stream from which the storage object data bytes can be read. |
java.io.OutputStream |
getOutputStream()
Returns an exclusive output stream to which new data can be written. |
long |
size()
Returns the number of bytes in the storage object. |
Methods inherited from class org.xiruss.repository.server.storagemanagement.StorageObjectDataBase |
---|
getStorageObject, isOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileStorageObjectData(FileStorageManager manager, StorageObject so) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public long size()
StorageObjectData
public java.io.OutputStream getOutputStream() throws java.io.IOException
StorageObjectData
java.io.IOException
public void close() throws java.io.IOException
StorageObjectData
close
in interface StorageObjectData
close
in class StorageObjectDataBase
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
StorageObjectData
java.io.IOException
public byte[] getBytes() throws java.io.IOException
StorageObjectData
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |