Lines Matching defs:read

71      * Opens a file, returning an input stream to read from the file. The stream
101 * method is invoked to check read access to the file.
300 * method is invoked to check read access to the path if the file is
346 * method is invoked to check read access to the path if the file is
406 * method is invoked to check read access to the directory.
461 * method is invoked to check read access to the directory.
537 * method is invoked to check read access to the directory.
1213 * method is invoked to check read access to the source file, the
1359 * links</a> then this method is used to read the target of the link, failing
1372 * if the target could otherwise not be read because the file
1379 * granted with the "{@code readlink}" action to read the link.
1406 * method is invoked to check read access to the file, and in
1449 * method is invoked to check read access to both files.
1478 * method is invoked to check read access to the file.
1582 * <p> A file attribute view provides a read-only or updatable view of a
1584 * attribute view defines type-safe methods to read or update the file
1599 * Suppose we want read or set a file's ACL, if supported:
1640 * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
1643 * <p> It is implementation specific if all file attributes are read as an
1647 * Suppose we want to read a file's attributes in bulk:
1652 * Alternatively, suppose we want to read file's POSIX attributes without
1662 * to read
1675 * method is invoked to check read access to the file. If this
1676 * method is invoked to read security sensitive attributes then the
1759 * <p> The {@code attribute} parameter identifies the attribute to be read
1776 * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
1790 * the attribute to read
1805 * method denies read access to the file. If this method is invoked
1806 * to read security sensitive attributes then the security manager
1813 // only one attribute should be read
1831 * <p> The {@code attributes} parameter identifies the attributes to be read
1846 * zero or more names of attributes to read. If the list contains the value
1847 * {@code "*"} then all attributes are read. Attributes that are not supported
1849 * implementation specific if all attributes are read as an atomic operation
1880 * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
1886 * the attributes to read
1903 * method denies read access to the file. If this method is invoked
1904 * to read security sensitive attributes then the security manager
1926 * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
1945 * denies read access to the file.
2017 * denies read access to the file.
2079 * read with the {@link #readAttributes(Path,Class,LinkOption[])
2090 * method denies read access to the file.
2108 * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
2113 * read with the {@link #readAttributes(Path,Class,LinkOption[])
2129 * method denies read access to the file.
2145 * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
2150 * read with the {@link #readAttributes(Path,Class,LinkOption[])
2166 * method denies read access to the file.
2182 * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
2200 * method denies read access to the file.
2268 * method denies read access to the file.
2319 * read access to the file.
2328 // attempt to read attributes without following links
2370 * read access to the file.
2377 // attempt to read attributes without following links
2407 * method may require to read file permissions, access control lists, or
2421 * if the file does not exist, read access would be denied because
2428 * is invoked to check read access to the file.
2438 * method may require to read file permissions, access control lists, or
2473 * <p> Depending on the implementation, this method may require to read file
2514 * <p> For each file encountered this method attempts to read its {@link
2517 * invoked with the file attributes. If the file attributes cannot be read,
2538 * be read, then this method attempts to get the {@code BasicFileAttributes}
2539 * of the link. If they can be read then the {@code visitFile} method is
2561 * basic file attributes cannot be read, in which case the {@code
2588 * to check read access to the directory.
2626 * to check read access to the directory.
2647 * used to read text from the file in an efficient manner. Bytes from the
2651 * <p> The {@code Reader} methods that read from the file throw {@code
2652 * IOException} if a malformed or unmappable byte sequence is read.
2659 * @return a new buffered reader, with default buffer size, to read text
2667 * method is invoked to check read access to the file.
2733 while ((n = source.read(buf)) > 0) {
2755 * after some bytes have been read or written. Consequently the input
2777 * the input stream to read from
2783 * @return the number of bytes read or written
2860 * stream, then it may do so after some bytes have been read or written.
2880 * @return the number of bytes read or written
2887 * method is invoked to check read access to the file.
2902 private static byte[] read(InputStream source, int initialSize)
2910 // read to EOF which may read more or less than initialSize (eg: file
2912 while ((n = source.read(buf, nread, rem)) > 0) {
2934 * closed when all bytes have been read or an I/O error, or other runtime
2938 * convenient to read all bytes into a byte array. It is not intended for
2944 * @return a byte array containing the bytes read from the file
2954 * method is invoked to check read access to the file.
2962 return read(in, (int)size);
2968 * closed when all bytes have been read or an I/O error, or other runtime
2983 * convenient to read all lines in a single operation. It is not intended
2997 * unmappable byte sequence is read
3001 * method is invoked to check read access to the file.