/** * Returns the complete file, including its directory. */ public File getFile() { return file.equals(directory) ? file : new File(directory, getRelativeFilePath()); }
public String getName() { // Chop the directory name from the file name and get the right separators. return file.equals(directory) ? file.getName() : getRelativeFilePath(); }
/** * Returns the complete file, including its directory. */ public File getFile() { return file.equals(directory) ? file : new File(directory, getRelativeFilePath()); }
/** * Returns the complete file, including its directory. */ public File getFile() { return file.equals(directory) ? file : new File(directory, getRelativeFilePath()); }
public String getName() { // Chop the directory name from the file name and get the right separators. return file.equals(directory) ? file.getName() : getRelativeFilePath(); }
public String getName() { // Chop the directory name from the file name and get the right separators. return file.equals(directory) ? file.getName() : getRelativeFilePath(); }