org.tm4j.topicmap.utils.TopicMapSerializer .setOutputFile(java.lang.String path)

Description

Configures the instance to use the file denoted by the specified path for serialization. This is merely a convenience method that constructs a new java.io.File from path, and then invokes #setOutputFile(File).

Parameters
java.lang.String path the (relative or absolute) path to the output file to use for serialization.

Throws

  • java.io.IOException - if the specified output file can't be accessed. Kept for backwards compatibility with JDK/JRE 1.2, on later Java versions, this method will only throw {@link java.io.FileNotFoundException}.

Other Resources

Related Topics

Has Parameters