org.netbeans.lib.cvsclient.file
Class FileDetails

java.lang.Object
  extended by org.netbeans.lib.cvsclient.file.FileDetails

public class FileDetails
extends java.lang.Object

A wrapper class that describes a file.


Constructor Summary
FileDetails(java.io.File file, boolean isBinary)
          Construct a FileDetails object
 
Method Summary
 java.io.File getFile()
          Return the file.
 boolean isBinary()
          Return the file type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDetails

public FileDetails(java.io.File file,
                   boolean isBinary)
Construct a FileDetails object

Parameters:
theFile - the file
binary - true if the file is binary, false if it is text
Method Detail

getFile

public java.io.File getFile()
Return the file.

Returns:
the file

isBinary

public boolean isBinary()
Return the file type.

Returns:
true if the file is binary, false if it is text

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.