![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.storage.NewsRCjava.lang.Object | +----grendel.storage.NewsRC This class represents a newsrc-format disk file, and the newsgroup descriptions within it.
public class NewsRC
extends java.lang.Object
{
// Fields 8
static final boolean DEBUG;
protected boolean dirty;
protected File file;
protected long file_date;
protected long file_size;
protected Vector lines;
protected ByteBuf options_lines;
Thread updateThread;
// Constructors 1
NewsRC(File) throws IOException;
// Methods 13
public Enumeration elements();
public File file();
public NewsRCLine getNewsgroup(String);
private synchronized void load() throws IOException;
public static void main(String[]);
protected NewsRCLine makeNewsRCLine(ByteBuf);
public synchronized void markDirty();
protected void parse_file(FileInputStream) throws IOException;
public void save() throws IOException;
protected void save_internal() throws IOException;
protected File tempFileName();
protected synchronized void verifyFileDate(boolean);
public void write(OutputStream) throws IOException;
}
Fields DEBUGstatic final boolean DEBUG fileprotected File file file_dateprotected long file_date file_sizeprotected long file_size options_linesprotected ByteBuf options_lines linesprotected Vector lines dirtyprotected boolean dirty updateThreadThread updateThread
Constructors NewsRCNewsRC(File file) throws IOException
Methods loadprivate synchronized void load() throws IOException filepublic File file()
parse_fileprotected void parse_file(FileInputStream in) throws IOException markDirtypublic synchronized void markDirty()
makeNewsRCLineprotected NewsRCLine makeNewsRCLine(ByteBuf line_buf)
elementspublic Enumeration elements() getNewsgrouppublic NewsRCLine getNewsgroup(String group_name)
writepublic void write(OutputStream stream) throws IOException tempFileNameprotected File tempFileName()
savepublic void save() throws IOException
save_internalprotected void save_internal() throws IOException verifyFileDateprotected synchronized void verifyFileDate(boolean was_dirty)
mainpublic static void main(String[] argv) All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998. |
|