public class SAFSerialization extends Object implements SerializationProvider
Modifier and Type | Method and Description |
---|---|
static SAFSerialization |
getInstance() |
CompactDFA<Integer> |
readGenericDFA(InputStream is) |
CompactNFA<Integer> |
readGenericNFA(InputStream is) |
<I> void |
writeDFA(DFA<?,I> dfa,
Alphabet<I> alphabet,
OutputStream os) |
<I> void |
writeNFA(NFA<?,I> nfa,
Alphabet<I> alphabet,
OutputStream os) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encodeDFA, encodeNFA, readCustomDFA, readCustomDFA, readCustomDFA, readCustomDFA, readCustomNFA, readCustomNFA, readCustomNFA, readCustomNFA, readGenericDFA, readGenericDFA, readGenericDFA, readGenericNFA, readGenericNFA, readGenericNFA, readNativeDFA, readNativeDFA, readNativeDFA, readNativeDFA, readNativeNFA, readNativeNFA, readNativeNFA, readNativeNFA, writeDFA, writeNFA
public static SAFSerialization getInstance()
public CompactDFA<Integer> readGenericDFA(InputStream is) throws IOException
readGenericDFA
in interface SerializationProvider
IOException
public <I> void writeDFA(DFA<?,I> dfa, Alphabet<I> alphabet, OutputStream os) throws IOException
writeDFA
in interface SerializationProvider
IOException
public CompactNFA<Integer> readGenericNFA(InputStream is) throws IOException
readGenericNFA
in interface SerializationProvider
IOException
public <I> void writeNFA(NFA<?,I> nfa, Alphabet<I> alphabet, OutputStream os) throws IOException
writeNFA
in interface SerializationProvider
IOException
Copyright © 2015. All rights reserved.