![JAR search and dependency download from the Maven repository](/logo.png)
net.java.truevfs.kernel.impl.ArchiveModel.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truevfs-kernel-impl Show documentation
Show all versions of truevfs-kernel-impl Show documentation
Implements the API for accessing the federated virtual file system space.
This reference implementation can get overridden by providing another
file system manager factory implementation with a higher priority on
the class path.
/*
* Copyright (C) 2005-2015 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package net.java.truevfs.kernel.impl
import java.util.concurrent.locks._
import net.java.truevfs.kernel.spec._
/**
* @author Christian Schlichtherle
*/
private abstract class ArchiveModel[E <: FsArchiveEntry]
(val driver: FsArchiveDriver[E], model: FsModel)
extends FsDecoratingModel(model) with ReentrantReadWriteLockAspect {
final override val lock = new ReentrantReadWriteLock
/** Composes the node path from the mountpoint of this model and the given
* node name.
*
* @param name the node name.
*/
final def path(name: FsNodeName) = new FsNodePath(getMountPoint, name)
def touch(options: AccessOptions)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy