org.freehep.util.io
Class EEXECDecryption

java.lang.Object
  extended by java.io.InputStream
      extended by org.freehep.util.io.EEXECDecryption
All Implemented Interfaces:
Closeable, EEXECConstants

public class EEXECDecryption
extends InputStream
implements EEXECConstants

Decrypts using the EEXEC form (Used by Type 1 fonts).

Version:
$Id: EEXECDecryption.java 8584 2006-08-10 23:06:37Z duns $
Author:
Simon Fischer

Field Summary
 
Fields inherited from interface org.freehep.util.io.EEXECConstants
C1, C2, CHARSTRING_R, EEXEC_R, N
 
Constructor Summary
EEXECDecryption(InputStream in)
          Creates an EEXECDecryption from the given stream
EEXECDecryption(InputStream in, int r, int n)
          Creates an EEXECDecryption from the given stream
 
Method Summary
 void close()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EEXECDecryption

public EEXECDecryption(InputStream in)
Creates an EEXECDecryption from the given stream

Parameters:
in - stream to read from

EEXECDecryption

public EEXECDecryption(InputStream in,
                       int r,
                       int n)
Creates an EEXECDecryption from the given stream

Parameters:
in - stream to read from
r -
n -
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class InputStream
Throws:
IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.