Class AlignedTypesDatabaseIO
java.lang.Object
ca.phon.alignedTypesDatabase.AlignedTypesDatabaseIO
Serialization methods
AlignedTypesDatabase including compression.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlignedTypesDatabasereadFromFile(File dbFile) static AlignedTypesDatabasereadFromFile(File dbFile, boolean compressed) static AlignedTypesDatabasereadFromFile(String filename) static AlignedTypesDatabasereadFromFile(String filename, boolean compressed) static voidwriteToFile(AlignedTypesDatabase db, File dbFile) static voidwriteToFile(AlignedTypesDatabase db, File dbFile, boolean compressed) static voidwriteToFile(AlignedTypesDatabase db, String filename) static voidwriteToFile(AlignedTypesDatabase db, String filename, boolean compressed)
-
Field Details
-
DB_EXT
-
DBZ_EXT
-
-
Constructor Details
-
AlignedTypesDatabaseIO
public AlignedTypesDatabaseIO()
-
-
Method Details
-
readFromFile
- Throws:
IOException
-
readFromFile
public static AlignedTypesDatabase readFromFile(String filename, boolean compressed) throws IOException - Throws:
IOException
-
readFromFile
- Throws:
IOException
-
readFromFile
- Throws:
IOException
-
writeToFile
- Throws:
IOException
-
writeToFile
public static void writeToFile(AlignedTypesDatabase db, String filename, boolean compressed) throws IOException - Throws:
IOException
-
writeToFile
- Throws:
IOException
-
writeToFile
public static void writeToFile(AlignedTypesDatabase db, File dbFile, boolean compressed) throws IOException - Throws:
IOException
-