public class BrownCluster extends java.lang.Object implements SerializableArtifact
Modifier and Type | Class and Description |
---|---|
static class |
BrownCluster.BrownClusterSerializer |
Constructor and Description |
---|
BrownCluster(java.io.InputStream in)
Generates the token to cluster map from Brown cluster input file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getArtifactSerializerClass()
Retrieves the class which can serialize and recreate this artifact.
|
java.lang.String |
lookupToken(java.lang.String string)
Check if a token is in the Brown:paths, token map.
|
void |
serialize(java.io.OutputStream out) |
public BrownCluster(java.io.InputStream in) throws java.io.IOException
in
- the inputstreamjava.io.IOException
- the io exceptionpublic java.lang.String lookupToken(java.lang.String string)
string
- the token to look-uppublic void serialize(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public java.lang.Class<?> getArtifactSerializerClass()
SerializableArtifact
getArtifactSerializerClass
in interface SerializableArtifact
Copyright © 2010 - 2020 Adobe. All Rights Reserved