|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.store.raw.data.RFResource
class RFResource
| Field Summary | |
|---|---|
private BaseDataFileFactory |
factory
|
| Fields inherited from interface org.apache.derby.iapi.store.access.FileResource |
|---|
JAR_DIRECTORY_NAME |
| Constructor Summary | |
|---|---|
RFResource(BaseDataFileFactory dataFactory)
|
|
| Method Summary | |
|---|---|
long |
add(java.lang.String name,
java.io.InputStream source)
Add a file resource, copying from the input stream. |
StorageFile |
getAsFile(java.lang.String name,
long generationId)
Get the StorageFile for a file resource. |
char |
getSeparatorChar()
|
void |
remove(java.lang.String name,
long currentGenerationId)
Remove the current generation of a file resource from the database. |
void |
removeJarDir(java.lang.String f)
During hard upgrade to >= 10.9, remove a jar directory (at post-commit time) from the database. |
long |
replace(java.lang.String name,
long currentGenerationId,
java.io.InputStream source)
Replace a file resource with a new version. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final BaseDataFileFactory factory
| Constructor Detail |
|---|
RFResource(BaseDataFileFactory dataFactory)
| Method Detail |
|---|
public long add(java.lang.String name,
java.io.InputStream source)
throws StandardException
FileResource
add in interface FileResourcename - the name of the file resource.source - an input stream for reading the content of
the file resource.
StandardException - OopsFileResource.add(java.lang.String, java.io.InputStream)
public void removeJarDir(java.lang.String f)
throws StandardException
FileResource
removeJarDir in interface FileResourceStandardExceptionFileResource.removeJarDir(java.lang.String)
public void remove(java.lang.String name,
long currentGenerationId)
throws StandardException
FileResource
remove in interface FileResourcename - the name of the fileResource to remove.
StandardException - OopsFileResource.remove(java.lang.String, long)
public long replace(java.lang.String name,
long currentGenerationId,
java.io.InputStream source)
throws StandardException
FileResourceThe InputStream will be closed by this method.
replace in interface FileResourcename - the name of the file resource.source - an input stream for reading the content of
the file resource.
StandardException - OopsFileResource.replace(java.lang.String, long, java.io.InputStream)
public StorageFile getAsFile(java.lang.String name,
long generationId)
FileResource
getAsFile in interface FileResourcename - The name of the fileResourcegenerationId - the generationId of the fileResource
FileResource.getAsFile(java.lang.String, long)public char getSeparatorChar()
getSeparatorChar in interface FileResource
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||