
com.github.vincentrussell.query.mongodb.sql.converter.UncloseableInputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql-to-mongo-db-query-converter Show documentation
Show all versions of sql-to-mongo-db-query-converter Show documentation
sql-to-mongo-db-query-converter helps you build quieres for
MongoDb based on Queries provided in SQL.
package com.github.vincentrussell.query.mongodb.sql.converter;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
/**
* An {@link InputStream} which cannot be closed.
*/
public class UncloseableInputStream extends FilterInputStream {
/**
* Default constructor.
* @param in the wrapped {@link InputStream}
*/
public UncloseableInputStream(final InputStream in) {
super(in);
}
/**
* This method does not has any effect the {@link InputStream}
* cannot be closed.
*/
@Override
public void close() throws IOException {
//noop
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy