|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.siviam.bobup.businessobjects.JarBusinessObjectDescriptor
com.siviam.bobup.businessobjects.LocalJarBusinessObjectDescriptor
This jar business object descriptor is specifically implemented for local file systems.
Field Summary |
Fields inherited from interface com.siviam.bobup.businessobjects.IBusinessObjectDescriptor |
BUSINESS_OBJECT_DESCRIPTION, BUSINESS_OBJECT_ID, BUSINESS_OBJECT_NAME |
Constructor Summary | |
LocalJarBusinessObjectDescriptor(java.io.File file)
|
Method Summary | |
void |
create()
Creates the backup location. |
boolean |
exists()
|
java.io.InputStream |
getInputStream()
Obtains an input stream to this backup location. |
long |
getLastModified()
Obtains the date that the backup location was last modified. |
java.lang.Object |
getLocation()
The location pointing to the specific file that needs to be backed up or recovered. |
java.io.OutputStream |
getOutputStream()
Obtains an outputstream to the backup location. |
Methods inherited from class com.siviam.bobup.businessobjects.JarBusinessObjectDescriptor |
addBackupPartDescription, getBackupPartDescriptions, getBackupWindow, getLocation, listContents, removeBackupPartDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalJarBusinessObjectDescriptor(java.io.File file)
file
- Method Detail |
public java.lang.Object getLocation() throws java.lang.Exception
JarBusinessObjectDescriptor
getLocation
in class JarBusinessObjectDescriptor
java.lang.Exception
public boolean exists() throws java.lang.Exception
exists
in interface IBackupLocation
exists
in class JarBusinessObjectDescriptor
java.lang.Exception
public java.io.InputStream getInputStream() throws java.lang.Exception
IBackupLocation
getInputStream
in interface IBackupLocation
getInputStream
in class JarBusinessObjectDescriptor
java.lang.Exception
public long getLastModified() throws java.lang.Exception
IBackupLocation
getLastModified
in interface IBackupLocation
getLastModified
in class JarBusinessObjectDescriptor
java.lang.Exception
public java.io.OutputStream getOutputStream() throws java.lang.Exception
IBackupLocation
getOutputStream
in interface IBackupLocation
getOutputStream
in class JarBusinessObjectDescriptor
java.lang.Exception
public void create() throws java.lang.Exception
IBackupLocation
create
in interface IBackupLocation
create
in class JarBusinessObjectDescriptor
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |