}
private ExtendedAttributeView getFileAttributeView( final Path path,
final String name,
final LinkOption... options ) {
final GeneralPathImpl gPath = toGeneralPathImpl( path );
final ExtendedAttributeView view = gPath.getAttrView( name );
if ( view == null && name.equals( "basic" ) ) {
final SimpleBasicFileAttributeView newView = new SimpleBasicFileAttributeView( gPath );
gPath.addAttrView( newView );
return newView;
}
return view;
}