Lines Matching defs:file

8  * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
28 import java.nio.file.attribute.*;
33 * partition, volume, concrete file system or other implementation specific means
34 * of file storage. The {@code FileStore} for where a file is stored is obtained
35 * by invoking the {@link Files#getFileStore getFileStore} method, or all file
39 * <p> In addition to the methods defined by this class, a file store may support
41 * that provide a read-only or updatable view of a set of file store attributes.
55 * Returns the name of this file store. The format of the name is highly
62 * @return the name of this file store
67 * Returns the <em>type</em> of this file store. The format of the string
69 * indicate, for example, the format used or if the file store is local
72 * @return a string representing the type of this file store
77 * Tells whether this file store is read-only. A file store is read-only if
79 * attempt to create a file, open an existing file for writing etc. causes
82 * @return {@code true} if, and only if, this file store is read-only
87 * Returns the size, in bytes, of the file store.
89 * @return the size of the file store, in bytes
98 * file store.
115 * Returns the number of unallocated bytes in the file store.
132 * Tells whether or not this file store supports the file attributes
133 * identified by the given file attribute view.
135 * <p> Invoking this method to test if the file store supports {@link
138 * result when the file store is not a local storage device. The reasons for
142 * the file attribute view type
144 * @return {@code true} if, and only if, the file attribute view is
150 * Tells whether or not this file store supports the file attributes
151 * identified by the given file attribute view.
153 * <p> Invoking this method to test if the file store supports {@link
156 * method cannot guarantee to give the correct result when the file store is
161 * the {@link FileAttributeView#name name} of file attribute view
163 * @return {@code true} if, and only if, the file attribute view is
171 * <p> This method is intended to be used where the file store attribute
172 * view defines type-safe methods to read or update the file store attributes.
179 * @return a file store attribute view of the specified type or
186 * Reads the value of a file store attribute.
196 * a {@link FileStore AttributeView} that identifies a set of file attributes.