org.tm4j.topicmap.utils.TopicMapSerializer .setOutputFile(java.io.File file)
Description
Configures the instance to use the specified output file for
serialization. This is merely a convenience method that constructs
a new java.io.FileOutputStream from file
, and then
invokes #setOutputStream(OutputStream).
Parameters | ||
---|---|---|
java.io.File | file | 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}.
Meta Data (1)
Other Resources
Related Topics
Has Parameters
file
[
Parameter #1
]