@Test public void testLookup_relative_nonDirectoryIntermediateFile() throws IOException { try { lookup("one/eleven/twelve"); fail(); } catch (NoSuchFileException expected) { } try { lookup("one/eleven/twelve/thirteen/fourteen"); fail(); } catch (NoSuchFileException expected) { } }
public DirectoryEntry lookUp( File workingDirectory, JimfsPath path, Set<? super LinkOption> options) throws IOException { checkNotNull(path); checkNotNull(options); DirectoryEntry result = lookUp(workingDirectory, path, options, 0); if (result == null) { throw new NoSuchFileException(path.toString()); } return result; }
FileTree { public DirectoryEntry lookUp( File workingDirectory, JimfsPath path, Set<? super LinkOption> options) throws IOException { checkNotNull(path); checkNotNull(options); DirectoryEntry result = lookUp(workingDirectory, path, options, 0); if (result == null) { throw new NoSuchFileException(path.toString()); } return result; } }
FileTree { public DirectoryEntry lookUp( File workingDirectory, JimfsPath path, Set<? super LinkOption> options) throws IOException { checkNotNull(path); checkNotNull(options); DirectoryEntry result = lookUp(workingDirectory, path, options, 0); if (result == null) { throw new NoSuchFileException(path.toString()); } return result; } FileTree(Map<Name, Directory> roots); }
FileTree { public DirectoryEntry lookUp( File workingDirectory, JimfsPath path, Set<? super LinkOption> options) throws IOException { checkNotNull(path); checkNotNull(options); DirectoryEntry result = lookUp(workingDirectory, path, options, 0); if (result == null) { throw new NoSuchFileException(path.toString()); } return result; } FileTree(Map<Name, Directory> roots); ImmutableSortedSet<Name> getRootDirectoryNames(); @NullableDecl DirectoryEntry getRoot(Name name); DirectoryEntry lookUp(
      File workingDirectory, JimfsPath path, Set<? super LinkOption> options); }
FileTree { public DirectoryEntry lookUp( File workingDirectory, JimfsPath path, Set<? super LinkOption> options) throws IOException { checkNotNull(path); checkNotNull(options); DirectoryEntry result = lookUp(workingDirectory, path, options, 0); if (result == null) { throw new NoSuchFileException(path.toString()); } return result; } FileTree(Map<Name, Directory> roots); ImmutableSortedSet<Name> getRootDirectoryNames(); @NullableDecl DirectoryEntry getRoot(Name name); DirectoryEntry lookUp(
      File workingDirectory, JimfsPath path, Set<? super LinkOption> options);  }