eu.scape_project.services.characterise
Class ByteStreamCharacterisation
java.lang.Object
eu.scape_project.services.characterise.ByteStreamCharacterisation
public class ByteStreamCharacterisation
- extends Object
Simple characterisation service for byte streams. Simply records the length and calculates
checksums. Intended as a example for experimenting with REST implementations.
- Version:
- 0.1
Created Dec 5, 2011:2:27:06 PM
- Author:
- Carl Wilson
carlwilson-bl AT SourceForge
carlwilson-bl AT github
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteStreamCharacterisation
public ByteStreamCharacterisation()
characterise
public ByteStreamInfo characterise(InputStream is)
throws NoSuchAlgorithmException,
IOException
- Parameters:
is
- the java.io.InputStream to characterise
- Returns:
- a ByteStreamInfo object with characterisation data calced from the stream
- Throws:
NoSuchAlgorithmException
IOException
Copyright © 2013. All Rights Reserved.