/** * Return the FileSystemManager used to instantiate this filesystem. * @return the FileSystemManager. */ @Override public FileSystemManager getFileSystemManager() { return getContext().getFileSystemManager(); }
/** * Return the FileSystemManager used to instantiate this filesystem. * * @return the FileSystemManager. */ @Override public FileSystemManager getFileSystemManager() { return getContext().getFileSystemManager(); }
/** * Return the FileSystemManager used to instantiate this filesystem. * * @return the FileSystemManager. */ @Override public FileSystemManager getFileSystemManager() { return getContext().getFileSystemManager(); }
/** * Return the FileSystemManager used to instantiate this filesystem. * * @return the FileSystemManager. */ @Override public FileSystemManager getFileSystemManager() { return getContext().getFileSystemManager(); }
/** * Creates a temporary local copy of a file and its descendants. * * @param file the start of the tree. * @param selector selection what to do with childs. * @return replicated root file. * @throws Exception any Exception is wrapped as FileSystemException. */ protected File doReplicateFile(final FileObject file, final FileSelector selector) throws Exception { return getContext().getReplicator().replicateFile(file, selector); }
/** * Creates a temporary local copy of a file and its descendants. * * @param file the start of the tree. * @param selector selection what to do with childs. * @return replicated root file. * @throws Exception any Exception is wrapped as FileSystemException. */ protected File doReplicateFile(final FileObject file, final FileSelector selector) throws Exception { return getContext().getReplicator().replicateFile(file, selector); }
/** * Creates a temporary local copy of a file and its descendants. * * @param file the start of the tree. * @param selector selection what to do with childs. * @return replicated root file. * @throws Exception any Exception is wrapped as FileSystemException. */ protected File doReplicateFile(final FileObject file, final FileSelector selector) throws Exception { return getContext().getReplicator().replicateFile(file, selector); }
/** * Creates a temporary local copy of a file and its descendants. */ protected File doReplicateFile(final FileObject file, final FileSelector selector) throws Exception { return getContext().getReplicator().replicateFile(file, selector); }
private FilesCache getCache() { FilesCache files; files = getContext().getFileSystemManager().getFilesCache(); if (files == null) { throw new RuntimeException(Messages.getString("vfs.provider/files-cache-missing.error")); } return files; }
private FilesCache getCache() { FilesCache files; files = getContext().getFileSystemManager().getFilesCache(); if (files == null) { throw new RuntimeException(Messages.getString("vfs.provider/files-cache-missing.error")); } return files; }
private FilesCache getCache() { FilesCache files; files = getContext().getFileSystemManager().getFilesCache(); if (files == null) { throw new RuntimeException(Messages.getString("vfs.provider/files-cache-missing.error")); } return files; }
private FilesCache getCache() { FilesCache files; files = getContext().getFileSystemManager().getFilesCache(); if (files == null) { throw new RuntimeException(Messages.getString("vfs.provider/files-cache-missing.error")); } return files; }
@Override public URL run() throws MalformedURLException { final StringBuilder buf = new StringBuilder(); final String scheme = UriParser.extractScheme(fileName.getURI(), buf); return new URL(scheme, "", -1, buf.toString(), new DefaultURLStreamHandler(fs.getContext(), fs.getFileSystemOptions())); } });
@Override public URL run() throws MalformedURLException { final StringBuilder buf = new StringBuilder(); final String scheme = UriParser.extractScheme(fileName.getURI(), buf); return new URL(scheme, "", -1, buf.toString(), new DefaultURLStreamHandler(fs.getContext(), fs.getFileSystemOptions())); } });
@Override public URL run() throws MalformedURLException { final StringBuilder buf = new StringBuilder(); final String scheme = UriParser.extractScheme(fileName.getURI(), buf); return new URL(scheme, "", -1, buf.toString(), new DefaultURLStreamHandler(fs.getContext(), fs.getFileSystemOptions())); } });
@Override public URL run() throws MalformedURLException, FileSystemException { final StringBuilder buf = new StringBuilder(); final String scheme = UriParser.extractScheme(VFS.getManager().getSchemes(), fileName.getURI(), buf); return new URL(scheme, "", -1, buf.toString(), new DefaultURLStreamHandler(fileSystem.getContext(), fileSystem.getFileSystemOptions())); } });