package io
- Alphabetic
- Public
- All
Type Members
-
abstract
class
AbstractFile extends Iterable[AbstractFile]
This class and its children serve to unify handling of files and directories.
This class and its children serve to unify handling of files and directories. These files and directories may or may not have some real counter part within the file system. For example, some file handles reference files within a zip archive or virtual ones that exist only in memory.
Every abstract file has a path (i.e. a full name) and a name (i.e. a short name) and may be backed by some real File. There are two different kinds of abstract files: regular files and directories. Regular files may be read and have a last modification time. Directories may list their content and look for subfiles with a specified name or path and of a specified kind.
The interface does not allow to access the content. The class
symtab.classfile.AbstractFileReader
accesses bytes, knowing that the character set of classfiles is UTF-8. For all other cases, the classSourceFile
is used, which honorsglobal.settings.encoding.value
.Note: This library is considered experimental and should not be used unless you know what you are doing.
-
class
Directory extends Path
An abstraction for directories.
An abstraction for directories.
- Since
2.8 Note: This is library is considered experimental and should not be used unless you know what you are doing.
-
class
File extends Path with Chars
An abstraction for files.
An abstraction for files. For character data, a Codec can be supplied at either creation time or when a method involving character data is called (with the latter taking precedence if supplied.) If neither is available, the value of scala.io.Codec.default is used.
- Since
2.8 Note: This is library is considered experimental and should not be used unless you know what you are doing.
-
case class
FileOperationException(msg: String) extends RuntimeException with Product with Serializable
Note: This library is considered experimental and should not be used unless you know what you are doing.
-
final
class
FileZipArchive extends ZipArchive
Note: This library is considered experimental and should not be used unless you know what you are doing.
- final class ManifestResources extends ZipArchive
-
class
Path extends AnyRef
The Path constructor is private so we can enforce some semantics regarding how a Path might relate to the world.
The Path constructor is private so we can enforce some semantics regarding how a Path might relate to the world.
Note: This library is considered experimental and should not be used unless you know what you are doing.
-
class
PlainDirectory extends PlainFile
Note: This library is considered experimental and should not be used unless you know what you are doing.
-
class
PlainFile extends AbstractFile
This class implements an abstract file backed by a File.
This class implements an abstract file backed by a File.
Note: This library is considered experimental and should not be used unless you know what you are doing.
- abstract class RootPath extends Closeable
-
final
class
URLZipArchive extends ZipArchive
Note: This library is considered experimental and should not be used unless you know what you are doing.
-
class
VirtualDirectory extends AbstractFile
An in-memory directory.
-
class
VirtualFile extends AbstractFile
This class implements an in-memory file.
This class implements an in-memory file.
- Version
1.0, 23/03/2004 Note: This library is considered experimental and should not be used unless you know what you are doing.
-
abstract
class
ZipArchive extends AbstractFile with Equals
Note: This library is considered experimental and should not be used unless you know what you are doing.
Value Members
-
object
AbstractFile
An abstraction over files for use in the reflection/compiler libraries.
An abstraction over files for use in the reflection/compiler libraries.
Note: This library is considered experimental and should not be used unless you know what you are doing.
- Version
1.0, 23/03/2004
-
object
Directory
Note: This library is considered experimental and should not be used unless you know what you are doing.
-
object
File
Note: This library is considered experimental and should not be used unless you know what you are doing.
-
object
NoAbstractFile extends AbstractFile
A distinguished object so you can avoid both null and Option.
A distinguished object so you can avoid both null and Option.
Note: This library is considered experimental and should not be used unless you know what you are doing.
-
object
Path
An abstraction for filesystem paths.
An abstraction for filesystem paths. The differences between Path, File, and Directory are primarily to communicate intent. Since the filesystem can change at any time, there is no way to reliably associate Files only with files and so on. Any Path can be converted to a File or Directory (and thus gain access to the additional entity specific methods) by calling toFile or toDirectory, which has no effect on the filesystem.
Also available are createFile and createDirectory, which attempt to create the path in question.
- Since
2.8 Note: This library is considered experimental and should not be used unless you know what you are doing.
- object RootPath
-
object
Streamable
Traits for objects which can be represented as Streams.
Traits for objects which can be represented as Streams.
- Since
2.8 Note: This library is considered experimental and should not be used unless you know what you are doing.
-
object
ZipArchive
An abstraction for zip files and streams.
An abstraction for zip files and streams. Everything is written the way it is for performance: we come through here a lot on every run. Be careful about changing it.
- Version
2.0, Note: This library is considered experimental and should not be used unless you know what you are doing.