edu.jhu.tmaj.servlet.response.impl
Class FileChecksumResponse

java.lang.Object
  extended by edu.jhu.tmaj.servlet.response.SuccessResponse
      extended by edu.jhu.tmaj.servlet.response.impl.FileChecksumResponse
All Implemented Interfaces:
CommandResponse, java.io.Serializable

public final class FileChecksumResponse
extends SuccessResponse

See Also:
Serialized Form

Method Summary
 boolean fileExists()
           
 long getChecksum()
           
static FileChecksumResponse getExistingInstance(long checksum)
           
static FileChecksumResponse getNonExistingInstance()
           
 
Methods inherited from class edu.jhu.tmaj.servlet.response.SuccessResponse
getError, isSuccessful, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getChecksum

public long getChecksum()

fileExists

public boolean fileExists()

getNonExistingInstance

public static FileChecksumResponse getNonExistingInstance()

getExistingInstance

public static FileChecksumResponse getExistingInstance(long checksum)