-
- /**
- * Writes a HMM to a file/
- *
- * @param exportLocation
- * Filename, URL or Pasted String to write to.
- * @throws FileNotFoundException
- * @throws UnsupportedEncodingException
- *
- **/
-
- public void exportFile(String exportLocation) throws IOException
- {
- PrintWriter writer = new PrintWriter(exportLocation);
- appendFileProperties(writer);
- appendModel(writer);
- writer.println("//");
-
- writer.close();
-
- }
-
- /**
- * Writes a HMM to a file/
- *
- * @param exportLocation
- * Filename, URL or Pasted String to write to.
- * @throws FileNotFoundException
- * @throws UnsupportedEncodingException
- *
- **/
-
- public void exportFile(File exportLocation) throws IOException
- {
- PrintWriter writer = new PrintWriter(exportLocation);
- appendFileProperties(writer);
- appendModel(writer);
- writer.println("//");
-
- writer.close();
-
- }
-