public class TAFSerialization extends Object implements SerializationProvider
Modifier and Type | Method and Description |
---|---|
static TAFSerialization |
getInstance() |
CompactDFA<Integer> |
readGenericDFA(InputStream is) |
CompactNFA<Integer> |
readGenericNFA(InputStream is) |
CompactDFA<String> |
readNativeDFA(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, readNativeNFA, readNativeNFA, readNativeNFA, readNativeNFA, writeDFA, writeNFA
public static TAFSerialization getInstance()
public CompactDFA<Integer> readGenericDFA(InputStream is) throws IOException
readGenericDFA
in interface SerializationProvider
IOException
public CompactDFA<String> readNativeDFA(InputStream is)
readNativeDFA
in interface SerializationProvider
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.