gov.nasa.pds.tools.object.validate
Class ImageValidator

java.lang.Object
  extended by gov.nasa.pds.tools.object.validate.ImageValidator
All Implemented Interfaces:
DataObjectValidator

public class ImageValidator
extends Object
implements DataObjectValidator

Version:
$Revision: 4967 $
Author:
pramirez, jagander

Constructor Summary
ImageValidator()
           
 
Method Summary
 void validate(DataObjectInputStream input, ObjectStatement object)
          Validates the bytes in the object against the description in the ObjectStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageValidator

public ImageValidator()
Method Detail

validate

public void validate(DataObjectInputStream input,
                     ObjectStatement object)
              throws InvalidObjectException,
                     InvalidDescriptionException
Description copied from interface: DataObjectValidator
Validates the bytes in the object against the description in the ObjectStatement

Specified by:
validate in interface DataObjectValidator
Parameters:
input - bytes of the data object
object - The description of the object consists of a set of attribute statements
Throws:
InvalidObjectException - if there is a problem with the bytes in accordance with the description
InvalidDescriptionException - if the description is insufficient for the validation to take place


Copyright © 2005–2013 Planetary Data System. All rights reserved.