Additional top-level class in compilation unit: RemoveFile.
| Modifier and Type | Field and Description |
|---|---|
| private final BaseDataFileFactory |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | add(String
the name of the file resource. name, InputStream an input stream for reading the content of
the file resource. source)Implements org. Add a file resource, copying from the input stream. |
| public StorageFile | getAsFile(String
The name of the fileResource name, long the generationId of the fileResource generationId)Implements org. Get the StorageFile for a file resource. |
| public char | |
| public void | remove(String
the name of the fileResource to remove. name, long currentGenerationId)Implements org. Remove the current generation of a file resource from the database. |
| public void | removeJarDir(String f)
Implements org. During hard upgrade to <= 10.9, remove a jar directory (at post-commit time) from the database. |
| public long | replace(String
the name of the file resource. name, long currentGenerationId, InputStream an input stream for reading the content of
the file resource. source)Implements org. Replace a file resource with a new version. |
| factory | back to summary |
|---|---|
| private final BaseDataFileFactory factory | |
| RFResource | back to summary |
|---|---|
| pack-priv RFResource(BaseDataFileFactory dataFactory) | |
| add | back to summary |
|---|---|
| public long add(String name, InputStream source) throws StandardException Implements org. Doc from org. Add a file resource, copying from the input stream. The InputStream will be closed by this method.
| |
| getAsFile | back to summary |
|---|---|
| public StorageFile getAsFile(String name, long generationId) Implements org. Doc from org. Get the StorageFile for a file resource.
| |
| getSeparatorChar | back to summary |
|---|---|
| public char getSeparatorChar() Implements org.
| |
| remove | back to summary |
|---|---|
| public void remove(String name, long currentGenerationId) throws StandardException Implements org. Doc from org. Remove the current generation of a file resource from the database.
| |
| removeJarDir | back to summary |
|---|---|
| public void removeJarDir(String f) throws StandardException Implements org. Doc from org. During hard upgrade to <= 10.9, remove a jar directory (at post-commit time) from the database.
| |
| replace | back to summary |
|---|---|
| public long replace(String name, long currentGenerationId, InputStream source) throws StandardException Implements org. Doc from org. Replace a file resource with a new version. The InputStream will be closed by this method.
| |