FreeHEP API
Version current

org.freehep.postscript
Class Scanner

java.lang.Object
  extended byorg.freehep.postscript.Scanner

public class Scanner
extends Object

Scanner for PostScript input

Version:
$Id: Scanner.java,v 1.9 2004/01/12 20:19:17 duns Exp $
Author:
Mark Donszelmann
Source Code:
Scanner.java

Constructor Summary
Scanner(PushbackInputStream in, DSC dsc)
           
 
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,
               DSC dsc)
        throws IOException
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

nextToken

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

getLineNo

public int getLineNo()

main

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.