/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* A "pass through" file system implementation that passes through, or delegates,
* everything to the default file system.
*/
}
/**
* Creates a new "pass through" file system. Useful for test environments
* where the provider might not be deployed.
*/
}
throw new NullPointerException();
if (!(wrapper instanceof PassThroughPath))
throw new ProviderMismatchException();
}
return provider;
}
}
public boolean isOpen() {
}
public boolean isReadOnly() {
return delegate.isReadOnly();
}
return delegate.getSeparator();
}
public boolean hasNext() {
}
}
public void remove() {
}
};
}
};
}
// assume that unwrapped objects aren't exposed
return delegate.getFileStores();
}
// assume that unwrapped objects aren't exposed
return delegate.supportedFileAttributeViews();
}
}
return new PathMatcher() {
}
};
}
// assume that unwrapped objects aren't exposed
return delegate.getUserPrincipalLookupService();
}
// to keep it simple
throw new UnsupportedOperationException();
}
public PassThroughProvider() { }
return SCHEME;
}
throw new IllegalArgumentException();
}
throw new IllegalArgumentException();
}
throws IOException
{
synchronized (PassThroughProvider.class) {
throw new FileSystemAlreadyExistsException();
return result;
}
}
throw new FileSystemNotFoundException();
return result;
}
throw new FileSystemNotFoundException();
}
throws IOException
{
}
throws IOException
{
}
LinkOption... options)
{
}
LinkOption... options)
throws IOException
{
}
}
throws IOException
{
}
}
}
}
}
return new DirectoryStream<Path>() {
public boolean hasNext() {
}
}
public void remove() {
}
};
}
public void close() throws IOException {
}
};
}
public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter)
throws IOException
{
}
throws IOException
{
}
FileAttribute<?>... attrs)
throws IOException
{
}
}
}
}
throws IOException
{
// hack
return;
else
}
throw new RuntimeException("not implemented yet");
}
}
}
}
return fs;
}
public boolean isAbsolute() {
return delegate.isAbsolute();
}
}
}
public int getNameCount() {
return delegate.getNameCount();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (!(other instanceof PassThroughPath))
return false;
}
public int hashCode() {
}
}
}
}
}
}
public boolean hasNext() {
}
}
public void remove() {
}
};
}
}
{
throw new UnsupportedOperationException();
}
{
throw new UnsupportedOperationException();
}
}
}