public class BDocContainer extends AsicEContainer
Container.DocumentType
Modifier and Type | Method and Description |
---|---|
void |
addTimestamp(Timestamp timestamp)
Adds a new timestamp token covering the contents of this container.
|
DataFile |
getTimeStampToken()
Deprecated.
|
void |
removeTimestamp(Timestamp timestamp)
Removes the specified timestamp token from this container.
|
void |
setTimeStampToken(DataFile timeStampToken)
Deprecated.
|
save
addDataFile, addDataFile, addDataFile, addDataFile, addSignature, extendSignatureProfile, extendSignatureProfile, getConfiguration, getContainerParseResult, getDataFiles, getSignatures, getType, isTimestampTokenDefined, removeDataFile, removeSignature, saveAsFile, saveAsStream, setType, validate, validateAt
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTimestamps
public BDocContainer()
public BDocContainer(Configuration configuration)
configuration
- configuration@Deprecated public BDocContainer(String containerPath)
ContainerOpener.open(String)
or
ContainerBuilder.fromExistingFile(String)
instead.containerPath
- path@Deprecated public BDocContainer(String containerPath, Configuration configuration)
ContainerOpener.open(String, Configuration)
or
ContainerBuilder.fromExistingFile(String)
instead.containerPath
- pathconfiguration
- configuration@Deprecated public BDocContainer(InputStream stream)
ContainerOpener.open(InputStream, Configuration)
or
ContainerBuilder.fromStream(InputStream)
instead.stream
- input stream@Deprecated public BDocContainer(InputStream stream, Configuration configuration)
ContainerOpener.open(InputStream, Configuration)
or
ContainerBuilder.fromStream(InputStream)
instead.stream
- input streamconfiguration
- configurationpublic BDocContainer(AsicParseResult containerParseResult, Configuration configuration)
containerParseResult
- container parsed resultconfiguration
- configurationpublic void addTimestamp(Timestamp timestamp)
Container
addTimestamp
in interface Container
addTimestamp
in class AsicEContainer
timestamp
- timestamp to add to this containerpublic void removeTimestamp(Timestamp timestamp)
Container
Note: A timestamp token can be removed from a container only if the container does not contain any other timestamp tokens that cover the timestamp token to be removed.
removeTimestamp
in interface Container
removeTimestamp
in class AsicEContainer
timestamp
- timestamp token to remove from this container@Deprecated public DataFile getTimeStampToken()
Container
getTimeStampToken
in interface Container
getTimeStampToken
in class AsicEContainer
@Deprecated public void setTimeStampToken(DataFile timeStampToken)
Container
setTimeStampToken
in interface Container
setTimeStampToken
in class AsicEContainer
timeStampToken
- timestamp tokenCopyright © 2024. All rights reserved.