public static FsPermission read(DataInput in) throws IOException {
    FsPermission p = new FsPermission();
    p.readFields(in);
    return p;
  }
public static FsPermission read ( DataInput in ) throws IOException { FsPermission p = new FsPermission ( ) ; p . readFields ( in ) ; return p ; }
Create and initialize a {@link FsPermission} from {@link DataInput}.