@Test public void testAttributes() { BasicFileAttributes attrs = provider.readAttributes(file); assertThat(attrs.fileKey()).isEqualTo(0); assertThat(attrs.isDirectory()).isTrue(); assertThat(attrs.isRegularFile()).isFalse(); assertThat(attrs.creationTime()).isNotNull(); }
@Override public BasicFileAttributes readAttributes(File file) { return new Attributes(file); }
BasicAttributeProvider extends AttributeProvider { @Override public BasicFileAttributes readAttributes(File file) { return new Attributes(file); } }
BasicAttributeProvider extends AttributeProvider { @Override public BasicFileAttributes readAttributes(File file) { return new Attributes(file); }  }
BasicAttributeProvider extends AttributeProvider { @Override public BasicFileAttributes readAttributes(File file) { return new Attributes(file); }  @Override String name(); @Override ImmutableSet<String> fixedAttributes(); @Override Object get(File file, String attribute); @Override void set(File file, String view, String attribute, Object value, boolean create); @Override Class<BasicFileAttributeView> viewType(); @Override BasicFileAttributeView view(
      FileLookup lookup, ImmutableMap<String, FileAttributeView> inheritedViews); @Override Class<BasicFileAttributes> attributesType(); @Override BasicFileAttributes readAttributes(File file); }
BasicAttributeProvider extends AttributeProvider { @Override public BasicFileAttributes readAttributes(File file) { return new Attributes(file); }  @Override String name(); @Override ImmutableSet<String> fixedAttributes(); @Override Object get(File file, String attribute); @Override void set(File file, String view, String attribute, Object value, boolean create); @Override Class<BasicFileAttributeView> viewType(); @Override BasicFileAttributeView view(
      FileLookup lookup, ImmutableMap<String, FileAttributeView> inheritedViews); @Override Class<BasicFileAttributes> attributesType(); @Override BasicFileAttributes readAttributes(File file);  }