/** * Performs the action. * * @throws Exception if an error occurs. */ @Override public File run() throws Exception { // TODO - Do not pass the selector through. It is untrusted // TODO - Need to determine which files can be read return replicator.replicateFile(srcFile, selector); } }
/** * Performs the action. * @throws Exception if an error occurs. */ @Override public File run() throws Exception { // TODO - Do not pass the selector through. It is untrusted // TODO - Need to determine which files can be read return replicator.replicateFile(srcFile, selector); } }
/** * Performs the action. * * @throws Exception if an error occurs. */ @Override public File run() throws Exception { // TODO - Do not pass the selector through. It is untrusted // TODO - Need to determine which files can be read return replicator.replicateFile(srcFile, selector); } }
/** * Performs the action. * * @throws Exception if an error occurs. */ @Override public File run() throws Exception { // TODO - Do not pass the selector through. It is untrusted // TODO - Need to determine which files can be read return replicator.replicateFile(srcFile, 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. * * @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); }