Package org.apache.jackrabbit.vault.vlt
Class VltFile
java.lang.Object
org.apache.jackrabbit.vault.vlt.VltFile
- All Implemented Interfaces:
DocumentSource
VltFile...-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(boolean force) booleandelete(boolean force) descend()voiddiff()getBaseFile(boolean create) getEntry()getFile()getLabel()Returns a label of the source.Returns some location information of the source.getName()getPath()getProperty(String name) booleanisBinary()Checks if this file has binary content.booleanresolved(boolean force) booleanrevert()voidsetProperty(String name, String value)
-
Field Details
-
PROP_CONTENT_TYPE
- See Also:
-
-
Constructor Details
-
VltFile
- Throws:
VltException
-
-
Method Details
-
getProperties
- Throws:
VltException
-
getProperty
- Throws:
VltException
-
setProperty
- Throws:
VltException
-
getStatus
- Throws:
VltException
-
getName
-
getFile
-
getPath
-
getBaseFile
- Throws:
VltException
-
getContentType
-
isBinary
public boolean isBinary()Checks if this file has binary content. It does not actually read the file data but callsMimeTypes.isBinary(String)with the content type of the work file.- Returns:
trueif this is binary
-
getTmpFile
- Throws:
VltException
-
canDescend
public boolean canDescend() -
descend
- Throws:
VltException
-
getEntry
-
diff
- Throws:
VltException
-
delete
- Throws:
VltException
-
commit
- Throws:
VltException
-
revert
- Throws:
VltException
-
resolved
- Throws:
VltException
-
update
- Throws:
VltException
-
status
- Throws:
VltException
-
add
- Throws:
VltException
-
getLabel
Description copied from interface:DocumentSourceReturns a label of the source.- Specified by:
getLabelin interfaceDocumentSource- Returns:
- a label of the source.
-
getLocation
Description copied from interface:DocumentSourceReturns some location information of the source.- Specified by:
getLocationin interfaceDocumentSource- Returns:
- some location information.
-