com.fullspan.kat.bookmark
Class KatNetscapeBookmarkParser

java.lang.Object
  extended bycom.fullspan.kat.bookmark.KatNetscapeBookmarkParser

public class KatNetscapeBookmarkParser
extends java.lang.Object

Based on code from the Bookmark Menu Applet by Zoran Lazarevic: http://www1.cs.columbia.edu/~laza/bookmarks/readme.html

Author:
Zoran Lazarevic, Mitch Stuart

Nested Class Summary
static class KatNetscapeBookmarkParser.BrowserBookmarkParseException
           
 
Field Summary
static int BOOKMARK
           
static int DESCRIPTION
           
static int EOF
           
static int FOLDER
           
static int FOLDER_END
           
static int SEPARATOR
           
static int UNKNOWN
           
 
Constructor Summary
KatNetscapeBookmarkParser(java.io.Reader r)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getLink()
           
 java.lang.String getName()
           
 int getType()
           
static void main(java.lang.String[] args)
           
 int next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOF

public static final int EOF
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

BOOKMARK

public static final int BOOKMARK
See Also:
Constant Field Values

FOLDER

public static final int FOLDER
See Also:
Constant Field Values

FOLDER_END

public static final int FOLDER_END
See Also:
Constant Field Values

SEPARATOR

public static final int SEPARATOR
See Also:
Constant Field Values

DESCRIPTION

public static final int DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

KatNetscapeBookmarkParser

public KatNetscapeBookmarkParser(java.io.Reader r)
                          throws java.io.IOException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

getType

public int getType()

getName

public java.lang.String getName()

getLink

public java.lang.String getLink()

getDescription

public java.lang.String getDescription()

next

public int next()
         throws java.io.IOException
Throws:
java.io.IOException