Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.traxel.io
Class CopyrightedOutputStream  view CopyrightedOutputStream download CopyrightedOutputStream.java

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended bycom.traxel.io.CopyrightedOutputStream

public class CopyrightedOutputStream
extends java.io.FilterOutputStream


Field Summary
private  java.io.RandomAccessFile _file
           
private  StreamMixer _mixer
           
private  long _readerIndex
           
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
CopyrightedOutputStream(java.io.OutputStream out)
          This constructor uses the default copyrighted text.
 
Method Summary
 void write(int aByte)
          This method writes a single byte of output to the underlying OutputStream.
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_readerIndex

private long _readerIndex

_file

private java.io.RandomAccessFile _file

_mixer

private StreamMixer _mixer
Constructor Detail

CopyrightedOutputStream

public CopyrightedOutputStream(java.io.OutputStream out)
This constructor uses the default copyrighted text. WARNING: Using this constructor may render this stream not useable to gain protection under the DMCA. The DMCA requires that a technological measure "effectively control access". If you are using a text string that is published under the GPL, it might be impossible to argue that your program is effectively controlling access.

Method Detail

write

public void write(int aByte)
           throws java.io.IOException
Description copied from class: java.io.FilterOutputStream
This method writes a single byte of output to the underlying OutputStream.