this implementation checks whether the underlying file is marked as readable and corresponds to an actual file with content , not to a directory . concode_field_sep String path concode_elem_sep File file concode_field_sep boolean isWritable concode_elem_sep InputStream getInputStream concode_elem_sep File getFile concode_elem_sep String getDescription concode_elem_sep URL getURL concode_elem_sep String getFilename concode_elem_sep int hashCode concode_elem_sep void assertNotNull concode_elem_sep boolean equals concode_elem_sep String getPath concode_elem_sep boolean exists concode_elem_sep Resource createRelative concode_elem_sep long contentLength concode_elem_sep OutputStream getOutputStream concode_elem_sep String toString concode_elem_sep long lastModified concode_elem_sep URI getURI
boolean function ( ) { return file . canRead ( ) && ! file . isDirectory ( ) ; }