FreeHEP API
Version v1.2

org.freehep.postscript
Class Scanner

java.lang.Object
  |
  +--org.freehep.postscript.Scanner

public class Scanner
extends Object

Scanner for PostScript input

Version:
$Id: Scanner.java,v 1.8 2001/06/21 07:20:17 duns Exp $
Author:
Mark Donszelmann

Constructor Summary
Scanner(PushbackInputStream in)
           
 
Method Summary
 void close()
           
 int getLineNo()
           
static void main(String[] args)
           
 PSObject nextToken(boolean packingMode, NameLookup lookup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scanner

public Scanner(PushbackInputStream in)
        throws IOException
Method Detail

close

public void close()
           throws IOException
IOException

nextToken

public PSObject nextToken(boolean packingMode,
                          NameLookup lookup)
                   throws IOException,
                          SyntaxException,
                          NameNotFoundException
IOException
SyntaxException
NameNotFoundException

getLineNo

public int getLineNo()

main

public static void main(String[] args)
                 throws Exception
Exception

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.