org.netbeans.lib.cvsclient.file
Class FileDetails

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

public class FileDetails
extends Object

A wrapper class that describes a file.

Author:
Robert Greig

Constructor Summary
FileDetails(File file, boolean isBinary)
          Construct a FileDetails object
 
Method Summary
 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(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 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


Copyright © 2011. All Rights Reserved.