org.apache.geronimo.javamail.store.nntp.newsrc
Class NNTPNewsrcFile
java.lang.Object
org.apache.geronimo.javamail.store.nntp.newsrc.NNTPNewsrc
org.apache.geronimo.javamail.store.nntp.newsrc.NNTPNewsrcFile
public class NNTPNewsrcFile
- extends NNTPNewsrc
Constructor Summary |
NNTPNewsrcFile(File source)
Construct a NNTPNewsrc object that is targetted at a file-based backing
store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NNTPNewsrcFile
public NNTPNewsrcFile(File source)
- Construct a NNTPNewsrc object that is targetted at a file-based backing
store.
- Parameters:
source
- The source File for the .newsrc data.
getInputReader
public BufferedReader getInputReader()
throws IOException
- Retrieve an input reader for loading the newsrc file.
- Specified by:
getInputReader
in class NNTPNewsrc
- Returns:
- A BufferedReader object for reading from the newsrc file.
- Throws:
IOException
getOutputWriter
public Writer getOutputWriter()
throws IOException
- Obtain a writer for saving a newsrc file.
- Specified by:
getOutputWriter
in class NNTPNewsrc
- Returns:
- The output writer targetted to the newsrc file.
- Throws:
IOException
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.