/** * Finds a file in this file system. * * @param name The name of the file to locate. * @return The located FileObject or null if none could be located. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final FileName name) throws FileSystemException { return resolveFile(name, true); }
/** * Returns the root file of this file system. * * @return The root FileObject of the FileSystem * @throws FileSystemException if an error occurs. */ @Override public FileObject getRoot() throws FileSystemException { return resolveFile(rootName); }
/** * Finds a file in this file system. * * @param name The name of the file to locate. * @return The located FileObject or null if none could be located. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final FileName name) throws FileSystemException { return resolveFile(name, true); }
/** * Finds a file in this file system. * @param name The name of the file to locate. * @return The located FileObject or null if none could be located. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final FileName name) throws FileSystemException { return resolveFile(name, true); }
/** * Returns the root file of this file system. * * @return The root FileObject of the FileSystem * @throws FileSystemException if an error occurs. */ @Override public FileObject getRoot() throws FileSystemException { return resolveFile(rootName); }
/** * Finds a file in this file system. * * @param name The name of the file to locate. * @return The located FileObject or null if none could be located. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final FileName name) throws FileSystemException { return resolveFile(name, true); }
private FileObject resolveFile(final FileName child) throws FileSystemException { return fs.resolveFile(child); }
/** * Returns the root file of this file system. * * @return The root FileObject of the FileSystem * @throws FileSystemException if an error occurs. */ @Override public FileObject getRoot() throws FileSystemException { return resolveFile(rootName); }
/** * Returns the root file of this file system. * @return The root FileObject of the FileSystem * @throws FileSystemException if an error occurs. */ @Override public FileObject getRoot() throws FileSystemException { return resolveFile(rootName); }
private FileObject resolveFile(final FileName child) throws FileSystemException { return fs.resolveFile(child); }
private FileObject resolveFile(final FileName child) throws FileSystemException { return fs.resolveFile(child); }
/** * Finds a file in this file system. * * @param nameStr The name of the file to resolve. * @return The located FileObject or null if none could be located. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String nameStr) throws FileSystemException { // Resolve the name, and create the file final FileName name = getFileSystemManager().resolveName(rootName, nameStr); return resolveFile(name); }
/** * Finds a file in this file system. * * @param nameStr The name of the file to resolve. * @return The located FileObject or null if none could be located. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String nameStr) throws FileSystemException { // Resolve the name, and create the file final FileName name = getFileSystemManager().resolveName(rootName, nameStr); return resolveFile(name); }
/** * Finds a file, relative to this file. * * @param path The path of the file to locate. Can either be a relative path, which is resolved relative to this * file, or an absolute path, which is resolved relative to the file system that contains this file. * @return The FileObject. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String path) throws FileSystemException { final FileName otherName = fs.getFileSystemManager().resolveName(fileName, path); return fs.resolveFile(otherName); }
/** * Returns a child by name. * * @param name The name of the child to locate. * @param scope the NameScope. * @return The FileObject for the file or null if the child does not exist. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String name, final NameScope scope) throws FileSystemException { // return fs.resolveFile(this.name.resolveName(name, scope)); return fs.resolveFile(fs.getFileSystemManager().resolveName(this.fileName, name, scope)); }
/** * Finds a file, relative to this file. * * @param path The path of the file to locate. Can either be a relative path, which is resolved relative to this * file, or an absolute path, which is resolved relative to the file system that contains this file. * @return The FileObject. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String path) throws FileSystemException { final FileName otherName = fileSystem.getFileSystemManager().resolveName(fileName, path); return fileSystem.resolveFile(otherName); }
/** * Returns a child by name. * * @param name The name of the child to locate. * @param scope the NameScope. * @return The FileObject for the file or null if the child does not exist. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String name, final NameScope scope) throws FileSystemException { // return fs.resolveFile(this.name.resolveName(name, scope)); return fileSystem.resolveFile(fileSystem.getFileSystemManager().resolveName(this.fileName, name, scope)); }
/** * Finds a file in this file system. * * @param nameStr The name of the file to resolve. * @return The located FileObject or null if none could be located. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String nameStr) throws FileSystemException { // Resolve the name, and create the file final FileName name = getFileSystemManager().resolveName(rootName, nameStr); return resolveFile(name); }
/** * Finds a file, relative to this file. * * @param path The path of the file to locate. Can either be a relative path, which is resolved relative to this * file, or an absolute path, which is resolved relative to the file system that contains this file. * @return The FileObject. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String path) throws FileSystemException { final FileName otherName = fs.getFileSystemManager().resolveName(fileName, path); return fs.resolveFile(otherName); }
/** * Returns a child by name. * * @param name The name of the child to locate. * @param scope the NameScope. * @return The FileObject for the file or null if the child does not exist. * @throws FileSystemException if an error occurs. */ @Override public FileObject resolveFile(final String name, final NameScope scope) throws FileSystemException { // return fs.resolveFile(this.name.resolveName(name, scope)); return fs.resolveFile(fs.getFileSystemManager().resolveName(this.fileName, name, scope)); }