URLFileName file = (URLFileName) sftpFilenameParser.parseUri( null, null, vfsUrl );
final boolean match = value == '%' || fileNameParser.encodeCharacter(value); buffer.delete(index + 1, index + 3); count -= 2; } else if (fileNameParser.encodeCharacter(ch)) {
@Override public FileName parseChildUri(final FileName base, final String uri) throws FileSystemException { if (getFileNameParser() != null) { return getFileNameParser().parseChildUri(getContext(), base, uri); } throw new FileSystemException("vfs.provider/filename-parser-missing.error"); } //[IntelliJ] / in WI-2449 Invalid descendent file name "ssh:" or directory a\b (on Linux) -----
final boolean match = value == '%' || fileNameParser.encodeCharacter(value); buffer.delete(index + 1, index + 3); count -= 2; } else if (fileNameParser.encodeCharacter(ch)) {
/** * Parses an absolute URI. * * @param base The base file - if null the {@code uri} needs to be absolute * @param uri The URI to parse. * @return The FileName. * @throws FileSystemException if an error occurs. */ @Override public FileName parseUri(final FileName base, final String uri) throws FileSystemException { if (getFileNameParser() != null) { return getFileNameParser().parseUri(getContext(), base, uri); } throw new FileSystemException("vfs.provider/filename-parser-missing.error"); } }
final boolean match = value == '%' || fileNameParser.encodeCharacter(value); buffer.delete(index + 1, index + 3); count -= 2; } else if (fileNameParser.encodeCharacter(ch)) {
/** * Parses an absolute URI. * * @param base The base file - if null the {@code uri} needs to be absolute * @param uri The URI to parse. * @return The FileName. * @throws FileSystemException if an error occurs. */ @Override public FileName parseUri(final FileName base, final String uri) throws FileSystemException { if (getFileNameParser() != null) { return getFileNameParser().parseUri(getContext(), base, uri); } throw new FileSystemException("vfs.provider/filename-parser-missing.error"); } }
final boolean match = value == '%' || fileNameParser.encodeCharacter(value); count -= 2; else if (fileNameParser.encodeCharacter(ch))
/** * Parses an absolute URI. * * @param base The base file - if null the {@code uri} needs to be absolute * @param uri The URI to parse. * @return The FileName. * @throws FileSystemException if an error occurs. */ @Override public FileName parseUri(final FileName base, final String uri) throws FileSystemException { if (getFileNameParser() != null) { return getFileNameParser().parseUri(getContext(), base, uri); } throw new FileSystemException("vfs.provider/filename-parser-missing.error"); } }
/** * Parses an absolute URI. * * @param base The base file - if null the {@code uri} needs to be absolute * @param uri The URI to parse. * @return The FileName. * @throws FileSystemException if an error occurs. */ @Override public FileName parseUri(final FileName base, final String uri) throws FileSystemException { if (getFileNameParser() != null) { return getFileNameParser().parseUri(getContext(), base, uri); } throw new FileSystemException("vfs.provider/filename-parser-missing.error"); }