/** * Returns the receiver as a URI String for public display, like, without a password. * * @return A URI String without a password, never {@code null}. */ @Override public String getPublicURIString() { return fileName.getFriendlyURI(); }
/** * Returns the receiver as a URI String for public display, like, without a password. * * @return A URI String without a password, never {@code null}. */ @Override public String getPublicURIString() { return fileName.getFriendlyURI(); }
/** * Returns the receiver as a URI String for public display, like, without a * password. * * @return A URI String without a password, never {@code null}. */ @Override public String getPublicURIString() { return fileName.getFriendlyURI(); }
/** * Returns the receiver as a URI String for public display, like, without a password. * * @return A URI String without a password, never {@code null}. */ @Override public String getPublicURIString() { return fileName.getFriendlyURI(); }
/** * returns a "friendly path", this is a path without a password. * * @return The "friendly" URI. */ @Override public String getFriendlyURI() { String uri = super.getFriendlyURI(); if (uri != null && uri.length() > 0) { try { // VFS-325: Handle URI special characters in filename // Decode the base uri and re-encode with URI special characters uri = UriParser.decode(uri); uri = UriParser.encode(uri, RESERVED_URI_CHARS); } catch (final FileSystemException e) { // Default to base uri value } } return uri; }
/** * returns a "friendly path", this is a path without a password. * * @return The "friendly" URI. */ @Override public String getFriendlyURI() { String uri = super.getFriendlyURI(); if (uri != null && uri.length() > 0) { try { // VFS-325: Handle URI special characters in filename // Decode the base uri and re-encode with URI special characters uri = UriParser.decode(uri); uri = UriParser.encode(uri, RESERVED_URI_CHARS); } catch (final FileSystemException e) { // Default to base uri value } } return uri; }
/** * returns a "friendly path", this is a path without a password. * * @return The "friendly" URI. */ @Override public String getFriendlyURI() { String uri = super.getFriendlyURI(); if (uri != null && uri.length() > 0) { try { // VFS-325: Handle URI special characters in filename // Decode the base uri and re-encode with URI special characters uri = UriParser.decode(uri); uri = UriParser.encode(uri, RESERVED_URI_CHARS); } catch (final FileSystemException e) { // Default to base uri value } } return uri; }
/** * returns a "friendly path", this is a path without a password. * @return The "friendly" URI. */ @Override public String getFriendlyURI() { String uri = super.getFriendlyURI(); if (uri != null && uri.length() > 0) { try { // VFS-325: Handle URI special characters in filename // Decode the base uri and re-encode with URI special characters uri = UriParser.decode(uri); uri = UriParser.encode(uri, RESERVED_URI_CHARS); } catch (final FileSystemException e) { // Default to base uri value } } return uri; }