public class JavaSeContentHashWorker
extends org.gytheio.content.hash.AbstractContentHashWorker
| Constructor and Description |
|---|
JavaSeContentHashWorker() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
encodeHex(byte[] byteArray)
Performs a hex encoding of the given byte array
|
String |
generateHashInternal(InputStream source,
String hashAlgorithm) |
boolean |
isAlgorithmSupported(String hashAlgorithm) |
generateHashes, initialize, toStringgetProperties, getVersionDetailsString, getVersionString, initializeVersionDetailsString, initializeVersionString, isAvailable, loadProperties, setIsAvailable, setSourceContentReferenceHandlerpublic String generateHashInternal(InputStream source, String hashAlgorithm) throws org.gytheio.content.ContentIOException, InterruptedException, org.gytheio.content.hash.ContentHashException
generateHashInternal in class org.gytheio.content.hash.AbstractContentHashWorkerorg.gytheio.content.ContentIOExceptionInterruptedExceptionorg.gytheio.content.hash.ContentHashExceptionprotected String encodeHex(byte[] byteArray)
byteArray - public boolean isAlgorithmSupported(String hashAlgorithm)
Copyright © 2015 Alfresco Software. All rights reserved.