All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.schlichtherle.truezip.fs.nio.file.FileDriverService Maven / Gradle / Ivy

/*
 * Copyright (C) 2005-2012 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */
package de.schlichtherle.truezip.fs.nio.file;

import de.schlichtherle.truezip.fs.FsDriver;
import de.schlichtherle.truezip.fs.FsScheme;
import de.schlichtherle.truezip.fs.spi.FsDriverService;
import java.util.Map;
import javax.annotation.concurrent.Immutable;

/**
 * An immutable container of a map with a driver for accessing the {@code file}
 * scheme.
 * The map provided by this service consists of the following entries:
 * 

URI Schemes File System Driver Class
{@code file} {@link de.schlichtherle.truezip.fs.nio.file.FileDriver}
* * @since TrueZIP 7.2 * @author Christian Schlichtherle */ @Immutable public final class FileDriverService extends FsDriverService { private static final Map DRIVERS = newMap(new Object[][] { { "file", new FileDriver() }, }); @Override @SuppressWarnings("ReturnOfCollectionOrArrayField") public Map get() { return DRIVERS; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy