Package com.levigo.jadice.server.archive
Class UnSevenZIPNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.archive.AbstractUnArchiveNode
-
- com.levigo.jadice.server.archive.UnSevenZIPNode
-
public class UnSevenZIPNode extends AbstractUnArchiveNode
ThisNode
decompresses 7-Zip archive file contained in the inputStream
s.Each file within the 7-Zip archive will produce a corresponding
Stream
in the output bundle.- Since:
- jadice server 5.0.1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description UnSevenZIPNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getPassword()
Use this password to uncompress the given 7z archive.void
setPassword(byte[] password)
Set the password to uncompress the given 7z archive.-
Methods inherited from class com.levigo.jadice.server.archive.AbstractUnArchiveNode
isApplyFilters, setApplyFilters
-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, getWorkerClassName, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getPassword
public byte[] getPassword()
Use this password to uncompress the given 7z archive.- Returns:
- a password (or
null
)
-
setPassword
public void setPassword(byte[] password)
Set the password to uncompress the given 7z archive.Usage:
node.setPassword("mySecretPassword".getBytes());
- Parameters:
password
- the password to use (ornull
)
-
-