<A extends BasicFileAttributes> A readAttributes(File file, Class<A> type) {
    state.checkOpen();
    return attributes.readAttributes(file, type);
  }
Returns attributes of the given file as an object of the given type.

@throws UnsupportedOperationException if the given attributes type is not supported
jimfs/src/main/java/com/google/common/jimfs/JimfsFileStore.java