public class BrownCluster extends Object implements SerializableArtifact
| Modifier and Type | Class and Description | 
|---|---|
| static class  | BrownCluster.BrownClusterSerializer | 
| Constructor and Description | 
|---|
| BrownCluster(InputStream in)Generates the token to cluster map from Brown cluster input file. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<?> | getArtifactSerializerClass()Retrieves the class which can serialize and recreate this artifact. | 
| String | lookupToken(String string)Check if a token is in the Brown:paths, token map. | 
| void | serialize(OutputStream out) | 
public BrownCluster(InputStream in) throws IOException
in - the inputstreamIOException - the io exceptionpublic String lookupToken(String string)
string - the token to look-uppublic void serialize(OutputStream out) throws IOException
IOExceptionpublic Class<?> getArtifactSerializerClass()
SerializableArtifactgetArtifactSerializerClass in interface SerializableArtifactCopyright © 2018 The Apache Software Foundation. All rights reserved.