List of usage examples for org.apache.hadoop.fs FileSystem getXAttrs
public Map<String, byte[]> getXAttrs(Path path) throws IOException
From source file:com.mellanox.r4h.DistributedFileSystem.java
License:Apache License
@Override public Map<String, byte[]> getXAttrs(Path path) throws IOException { final Path absF = fixRelativePart(path); return new FileSystemLinkResolver<Map<String, byte[]>>() { @Override/* w w w . j a va2s.c om*/ public Map<String, byte[]> doCall(final Path p) throws IOException { return dfs.getXAttrs(getPathName(p)); } @Override public Map<String, byte[]> next(final FileSystem fs, final Path p) throws IOException, UnresolvedLinkException { return fs.getXAttrs(p); } }.resolve(this, absF); }