|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.data.DataAbstract
com.zphinx.spine.data.impl.AbstractFileDAO
public abstract class AbstractFileDAO
AbstractFileDAO acts as an implementation of a DataAccessObject which uses a file system file for data persistence
Copyright ©Zphinx Software Solutions
| Constructor Summary | |
|---|---|
AbstractFileDAO()
|
|
| Method Summary | |
|---|---|
byte[] |
getFileBytes()
Get the output file as a byte[] |
String |
getPath()
Gets the path to the file this object uses |
Properties |
getProperties()
Get the Properties Object to use with this data class |
boolean |
isPropsFile()
Get the boolean which indictates if we initiated a Properties Object. |
boolean |
isWriteFlag()
Get the writeFlag.True if we should persist the contents of the physical file attached to this resource |
void |
setFileBytes(byte[] fileBytes)
Set the output file as a byte[] |
void |
setPath(String path)
Sets the path to the file this object uses |
void |
setProperties(Properties properties)
Set the Properties Object to use with this data class |
void |
setPropsFile(boolean propsFile)
Set the boolean which dictates if we initiated a Properties Object. |
void |
setWriteFlag(boolean writeFlag)
Set true if we wish to persist the contents of the physical file attached to this resource |
| Methods inherited from class com.zphinx.spine.data.DataAbstract |
|---|
close, fetchData, getErrors, getStoreType, setErrors, setStoreType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFileDAO()
| Method Detail |
|---|
public byte[] getFileBytes()
public void setFileBytes(byte[] fileBytes)
fileBytes - The fileBytes to set.public String getPath()
public void setPath(String path)
path - The path to set.public Properties getProperties()
public void setProperties(Properties properties)
properties - The properties to set.public boolean isPropsFile()
public void setPropsFile(boolean propsFile)
propsFile - The propsFile to set.public boolean isWriteFlag()
public void setWriteFlag(boolean writeFlag)
writeFlag - The writeFlag to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||