public static ClosingFSDataInputStream wrapSafe( FSDataInputStream delegate, SafetyNetCloseableRegistry registry) throws IOException{ return wrapSafe(delegate, registry, ""); }
@Override public FSDataInputStream open(Path f) throws IOException { FSDataInputStream innerStream = unsafeFileSystem.open(f); return ClosingFSDataInputStream.wrapSafe(innerStream, registry, String.valueOf(f)); }
@Override public FSDataInputStream open(Path f, int bufferSize) throws IOException { FSDataInputStream innerStream = unsafeFileSystem.open(f, bufferSize); return ClosingFSDataInputStream.wrapSafe(innerStream, registry, String.valueOf(f)); }
public static ClosingFSDataInputStream wrapSafe( FSDataInputStream delegate, SafetyNetCloseableRegistry registry) throws IOException{ return wrapSafe(delegate, registry, ""); }
public static ClosingFSDataInputStream wrapSafe( FSDataInputStream delegate, SafetyNetCloseableRegistry registry) throws IOException{ return wrapSafe(delegate, registry, ""); }
@Override public FSDataInputStream open(Path f) throws IOException { FSDataInputStream innerStream = unsafeFileSystem.open(f); return ClosingFSDataInputStream.wrapSafe(innerStream, registry, String.valueOf(f)); }
@Override public FSDataInputStream open(Path f, int bufferSize) throws IOException { FSDataInputStream innerStream = unsafeFileSystem.open(f, bufferSize); return ClosingFSDataInputStream.wrapSafe(innerStream, registry, String.valueOf(f)); }
@Override public FSDataInputStream open(Path f) throws IOException { FSDataInputStream innerStream = unsafeFileSystem.open(f); return ClosingFSDataInputStream.wrapSafe(innerStream, registry, String.valueOf(f)); }
@Override public FSDataInputStream open(Path f, int bufferSize) throws IOException { FSDataInputStream innerStream = unsafeFileSystem.open(f, bufferSize); return ClosingFSDataInputStream.wrapSafe(innerStream, registry, String.valueOf(f)); }