org.paneris.bibliomania.metasearch.util
Class HackParser

java.lang.Object
  extended by org.paneris.bibliomania.metasearch.util.HackParser
Direct Known Subclasses:
BookPage, BookPageBase, FrontPage, SearchResultsBase

public class HackParser
extends java.lang.Object


Nested Class Summary
protected static class HackParser.ParseException
           
 
Field Summary
protected  int here
           
protected static byte[] nbsp
           
protected  byte[] text
           
 
Constructor Summary
HackParser(byte[] text)
           
 
Method Summary
protected  java.lang.String digits()
           
static int indexOf(byte[] text, byte[] s)
           
protected  java.lang.String plaintext()
           
protected  java.lang.String plaintext(byte term)
           
protected  java.lang.String quotedStringFromBack(int off)
           
protected  boolean skipMaybe(byte[] s)
           
protected  void skipRealSpace()
           
protected  void skipSpace()
           
protected  void skipTo(byte c)
           
protected  void skipTo(byte[] s)
           
protected  void skipTo(byte c, byte d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected byte[] text

here

protected int here

nbsp

protected static final byte[] nbsp
Constructor Detail

HackParser

public HackParser(byte[] text)
Method Detail

skipTo

protected final void skipTo(byte c)

skipTo

protected final void skipTo(byte c,
                            byte d)

indexOf

public static int indexOf(byte[] text,
                          byte[] s)

skipTo

protected final void skipTo(byte[] s)

skipRealSpace

protected final void skipRealSpace()

skipMaybe

protected final boolean skipMaybe(byte[] s)

skipSpace

protected final void skipSpace()

plaintext

protected final java.lang.String plaintext(byte term)

plaintext

protected final java.lang.String plaintext()

digits

protected final java.lang.String digits()

quotedStringFromBack

protected final java.lang.String quotedStringFromBack(int off)


Copyright © 2000-2009 PanEris. All Rights Reserved.