package io
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
BufferSize(value: Int) extends Product with Serializable
Specifies buffer size used in I/O operation.
-
sealed
trait
FileVisitEvent extends AnyRef
Occurs when walking file tree.
Occurs when walking file tree.
- See also
-
final
class
WatchHandle extends AnyRef
Provides opaque handle to watcher.
Provides opaque handle to watcher.
A handle is obtained via PathType.withWatcher.
import java.nio.file.Paths import java.nio.file.StandardWatchEventKinds.ENTRY_CREATE import little.io.Implicits.PathType val dir = Paths.get(".") // Print message when file is created val handle = dir.withWatcher(ENTRY_CREATE) { evt ⇒ println(s"${evt.context} was created.") } Thread.sleep(60 * 1000) // Close handle when finished handle.close()
Value Members
-
object
AcceptAnyFile extends FileFilter
Implementation of
java.io.FileFilter
that accepts any file. -
object
Compressor
Includes compression methods.
-
object
FileVisitEvent
Contains file visit events.
Contains file visit events.
- See also
-
object
Implicits
Provides extension methods to
java.io
andjava.nio
. -
object
MatchAnyPath extends PathMatcher
Implementation of
java.nio.file.PathMatcher
that matches any path.