gov.nasa.pds.validate.target
Class Target

java.lang.Object
  extended by gov.nasa.pds.validate.target.Target

public class Target
extends Object

Class representation of a target in the Validate Tool.

Author:
mcayanan

Constructor Summary
Target(File file)
          Constructor.
Target(String file)
          Constructor.
 
Method Summary
 String getFilename()
          Gets the name of the file.
 TargetType getType()
          Returns the target type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Target

public Target(File file)
Constructor.

Parameters:
file - A file.

Target

public Target(String file)
Constructor.

Parameters:
file - A file.
Method Detail

getFilename

public String getFilename()
Gets the name of the file.

Returns:
the file name.

getType

public TargetType getType()
Returns the target type.

Returns:
A target type.


Copyright © 2005-2010 Planetary Data System. All Rights Reserved.