@Test public void testTilde() { assertEquals(System.getProperty("user.home") + "/f", new FinderLocal("~/f").getAbsolute()); assertEquals("~/f", new FinderLocal("~/f").getAbbreviatedPath()); }
@Override public String getAbbreviatedPath() { return new TildeExpander().abbreviate(this.getAbsolute()); }
FinderLocal extends Local { @Override public String getAbbreviatedPath() { return new TildeExpander().abbreviate(this.getAbsolute()); } }
FinderLocal extends Local { @Override public String getAbbreviatedPath() { return new TildeExpander().abbreviate(this.getAbsolute()); } FinderLocal(final Local parent, final String name);  FinderLocal(final Local parent, final String name, final FilesystemBookmarkResolver<NSURL> resolver);  FinderLocal(final String parent, final String name);  FinderLocal(final String parent, final String name, final FilesystemBookmarkResolver<NSURL> resolver);  FinderLocal(final String path);  FinderLocal(final String name, final FilesystemBookmarkResolver<NSURL> resolver); }
FinderLocal extends Local { @Override public String getAbbreviatedPath() { return new TildeExpander().abbreviate(this.getAbsolute()); } FinderLocal(final Local parent, final String name);  FinderLocal(final Local parent, final String name, final FilesystemBookmarkResolver<NSURL> resolver);  FinderLocal(final String parent, final String name);  FinderLocal(final String parent, final String name, final FilesystemBookmarkResolver<NSURL> resolver);  FinderLocal(final String path);  FinderLocal(final String name, final FilesystemBookmarkResolver<NSURL> resolver); @Override T serialize(final Serializer dict); @Override String getDisplayName(); @Override String getAbbreviatedPath(); @Override Local getVolume(); @Override boolean exists(final LinkOption... options); @Override String getBookmark(); @Override void setBookmark(final String data); @Override AttributedList<Local> list(final Filter<String> filter); @Override OutputStream getOutputStream(boolean append); @Override NSURL lock(final boolean interactive); @Override void release(final Object lock); @Override InputStream getInputStream(); @Override FinderLocalAttributes attributes(); }
FinderLocal extends Local { @Override public String getAbbreviatedPath() { return new TildeExpander().abbreviate(this.getAbsolute()); } FinderLocal(final Local parent, final String name);  FinderLocal(final Local parent, final String name, final FilesystemBookmarkResolver<NSURL> resolver);  FinderLocal(final String parent, final String name);  FinderLocal(final String parent, final String name, final FilesystemBookmarkResolver<NSURL> resolver);  FinderLocal(final String path);  FinderLocal(final String name, final FilesystemBookmarkResolver<NSURL> resolver); @Override T serialize(final Serializer dict); @Override String getDisplayName(); @Override String getAbbreviatedPath(); @Override Local getVolume(); @Override boolean exists(final LinkOption... options); @Override String getBookmark(); @Override void setBookmark(final String data); @Override AttributedList<Local> list(final Filter<String> filter); @Override OutputStream getOutputStream(boolean append); @Override NSURL lock(final boolean interactive); @Override void release(final Object lock); @Override InputStream getInputStream(); @Override FinderLocalAttributes attributes();  }