/** * Returns the root URI of the file system this file belongs to. * * @return The URI of the root. */ @Override public String getRootURI() { if (rootUri == null) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, true); buffer.append(SEPARATOR_CHAR); rootUri = buffer.toString().intern(); } return rootUri; }
/** * Returns the root URI of the file system this file belongs to. * * @return The URI of the root. */ @Override public String getRootURI() { if (rootUri == null) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, true); buffer.append(SEPARATOR_CHAR); rootUri = buffer.toString().intern(); } return rootUri; }
/** * Returns the root URI of the file system this file belongs to. * * @return The URI of the root. */ @Override public String getRootURI() { if (rootUri == null) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, true); buffer.append(SEPARATOR_CHAR); rootUri = buffer.toString().intern(); } return rootUri; }
private String createURI(final boolean useAbsolutePath, final boolean usePassword) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, usePassword); buffer.append(useAbsolutePath ? absPath : getPath()); return buffer.toString(); }
private String createURI(final boolean useAbsolutePath, final boolean usePassword) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, usePassword); buffer.append(useAbsolutePath ? absPath : getPath()); return buffer.toString(); }
/** * Returns the root URI of the file system this file belongs to. * @return The URI of the root. */ @Override public String getRootURI() { if (rootUri == null) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, true); buffer.append(SEPARATOR_CHAR); rootUri = buffer.toString().intern(); } return rootUri; }
private String createURI(final boolean useAbsolutePath, final boolean usePassword) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, usePassword); buffer.append(useAbsolutePath ? absPath : getPath()); return buffer.toString(); }
private String createURI(final boolean useAbsolutePath, final boolean usePassword) { final StringBuilder buffer = new StringBuilder(); appendRootUri(buffer, usePassword); buffer.append(useAbsolutePath ? absPath : getPath()); return buffer.toString(); }