| Start |
|---|
Manipulating paths Joining Two PathsPaths can be joined using the Normalizing a pathPaths may contain the elements When used in a path, With the Paths API, this is done using the |
| Creating paths The A path can be obtained using the helper class |
| Retrieving information about a path Information about a path can be get using the methods of a |
| Retrieving information using the filesystem To interact with the filesystem you use the methods of the class Checking existenceTo check the existence of the file or directory a path points to, you use the following methods: and
Checking whether a path points to a file or a directoryThis is done using Getting propertiesThis can be done using the following methods: Getting MIME typeThis tries to get the MIME type of a file. It returns a MIME type String, like this:
|
| Reading files Files can be read byte- and line-wise using the
|
| Writing files Files can be written bite- and line-wise using the Existing files wile be overridden, non-existing files will be created. Syntax
|
Read Article
https://develop.horje.com/learn/1434/reference