@Test public void testPathContainer() { final Path path = new Path(new Path("test.cyberduck.ch", EnumSet.of(Path.Type.volume, Path.Type.directory)), "/test", EnumSet.of(Path.Type.directory)); assertEquals("/test.cyberduck.ch/test", path.getAbsolute()); }
@Override public String getAbsolute() { return path; }
Path extends AbstractPath implements Referenceable, Serializable { @Override public String getAbsolute() { return path; } }
Path extends AbstractPath implements Referenceable, Serializable { @Override public String getAbsolute() { return path; } Path(final Path copy);  Path(final Path parent, final String name, final EnumSet<Type> type);  Path(final String absolute, final EnumSet<Type> type);  Path(final String absolute, final EnumSet<Type> type, final PathAttributes attributes);  Path(final Path parent, final String name, final EnumSet<Type> type, final PathAttributes attributes); }
Path extends AbstractPath implements Referenceable, Serializable { @Override public String getAbsolute() { return path; } Path(final Path copy);  Path(final Path parent, final String name, final EnumSet<Type> type);  Path(final String absolute, final EnumSet<Type> type);  Path(final String absolute, final EnumSet<Type> type, final PathAttributes attributes);  Path(final Path parent, final String name, final EnumSet<Type> type, final PathAttributes attributes); @Override T serialize(final Serializer dict); @Override EnumSet<Type> getType(); void setType(final EnumSet<Type> type); boolean isVolume(); boolean isDirectory(); boolean isPlaceholder(); boolean isFile(); boolean isSymbolicLink(); @Override char getDelimiter(); Path getParent(); PathAttributes attributes(); void setAttributes(final PathAttributes attributes); Path withAttributes(final PathAttributes attributes); @Override String getName(); @Override String getAbsolute(); Path getSymlinkTarget(); void setSymlinkTarget(final Path target); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString(); boolean isChild(final Path directory); }
Path extends AbstractPath implements Referenceable, Serializable { @Override public String getAbsolute() { return path; } Path(final Path copy);  Path(final Path parent, final String name, final EnumSet<Type> type);  Path(final String absolute, final EnumSet<Type> type);  Path(final String absolute, final EnumSet<Type> type, final PathAttributes attributes);  Path(final Path parent, final String name, final EnumSet<Type> type, final PathAttributes attributes); @Override T serialize(final Serializer dict); @Override EnumSet<Type> getType(); void setType(final EnumSet<Type> type); boolean isVolume(); boolean isDirectory(); boolean isPlaceholder(); boolean isFile(); boolean isSymbolicLink(); @Override char getDelimiter(); Path getParent(); PathAttributes attributes(); void setAttributes(final PathAttributes attributes); Path withAttributes(final PathAttributes attributes); @Override String getName(); @Override String getAbsolute(); Path getSymlinkTarget(); void setSymlinkTarget(final Path target); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString(); boolean isChild(final Path directory); static final char DELIMITER; }