org.sourcejammer.server.source
Interface SourceBuildStepInf

All Known Implementing Classes:
AddBytes, ReadBytes, SkipBytes

public interface SourceBuildStepInf


Method Summary
 java.io.OutputStream build(SourceInputStream parent, java.io.OutputStream buildSoFar)
          Executes this build step on OutputStream buildSoFar.
 int size()
           
 

Method Detail

build

public java.io.OutputStream build(SourceInputStream parent,
                                  java.io.OutputStream buildSoFar)
                           throws InvalidSourceException,
                                  java.io.IOException
Executes this build step on OutputStream buildSoFar.

Parameters:
parent - -- SourceInputStream object of parent, or old version of this source file.
buildSoFar - -- The new file being built. This object is modified by either adding, skipping, or reading bytes from parent.
InvalidSourceException
java.io.IOException

size

public int size()


Copyright 2003 Soucejammer project.