public class DefaultNutsIOHashAction extends Object implements net.thevpc.nuts.NutsIOHashAction
| Constructor and Description |
|---|
DefaultNutsIOHashAction(net.thevpc.nuts.NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsIOHashAction |
algorithm(String algorithm) |
protected void |
checkSession() |
byte[] |
computeBytes() |
String |
computeString() |
String |
getAlgorithm() |
net.thevpc.nuts.NutsSession |
getSession() |
protected String |
getValidAlgo() |
net.thevpc.nuts.NutsIOHashAction |
md5() |
net.thevpc.nuts.NutsIOHashAction |
setAlgorithm(String algorithm) |
net.thevpc.nuts.NutsIOHashAction |
setSession(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIOHashAction |
setSource(File file) |
net.thevpc.nuts.NutsIOHashAction |
setSource(InputStream input) |
net.thevpc.nuts.NutsIOHashAction |
setSource(net.thevpc.nuts.NutsDescriptor descriptor) |
net.thevpc.nuts.NutsIOHashAction |
setSource(net.thevpc.nuts.NutsPath path) |
net.thevpc.nuts.NutsIOHashAction |
setSource(Path path) |
net.thevpc.nuts.NutsIOHashAction |
sha1() |
net.thevpc.nuts.NutsIOHashAction |
writeHash(OutputStream out) |
public DefaultNutsIOHashAction(net.thevpc.nuts.NutsWorkspace ws)
public String getAlgorithm()
getAlgorithm in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction algorithm(String algorithm)
algorithm in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction setAlgorithm(String algorithm)
setAlgorithm in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsSession getSession()
getSession in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction setSession(net.thevpc.nuts.NutsSession session)
setSession in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction sha1()
sha1 in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction md5()
md5 in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction setSource(InputStream input)
setSource in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction setSource(File file)
setSource in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction setSource(Path path)
setSource in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction setSource(net.thevpc.nuts.NutsPath path)
setSource in interface net.thevpc.nuts.NutsIOHashActionpublic net.thevpc.nuts.NutsIOHashAction setSource(net.thevpc.nuts.NutsDescriptor descriptor)
setSource in interface net.thevpc.nuts.NutsIOHashActionpublic String computeString()
computeString in interface net.thevpc.nuts.NutsIOHashActionprotected String getValidAlgo()
public net.thevpc.nuts.NutsIOHashAction writeHash(OutputStream out)
writeHash in interface net.thevpc.nuts.NutsIOHashActionpublic byte[] computeBytes()
computeBytes in interface net.thevpc.nuts.NutsIOHashActionprotected void checkSession()
Copyright © 2021 vpc open source initiative. All rights reserved.