org.sourcejammer.server.source
Class ByteArraySource

java.lang.Object
  |
  +--org.sourcejammer.server.source.ByteArraySource
All Implemented Interfaces:
Delta, java.io.Serializable

public class ByteArraySource
extends java.lang.Object
implements Delta, java.io.Serializable

Represents a non-diffed byte array that implements Delta for convenience. Could be either zipped or not.

See Also:
Serialized Form

Field Summary
private  boolean mbContentsZipped
           
private  byte[] mbyFile
           
 
Constructor Summary
ByteArraySource(byte[] file)
           
 
Method Summary
 byte[] getFile()
           
 boolean isZipped()
           
 void setFile(byte[] file)
           
 void setZipped(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mbyFile

private byte[] mbyFile

mbContentsZipped

private boolean mbContentsZipped
Constructor Detail

ByteArraySource

public ByteArraySource(byte[] file)
Method Detail

getFile

public byte[] getFile()

setFile

public void setFile(byte[] file)

setZipped

public void setZipped(boolean b)

isZipped

public boolean isZipped()


Copyright 2003 Soucejammer project.