org.sdmxsource.util.io.WriteableDataLocationTmp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SdmxSourceUtil Show documentation
Show all versions of SdmxSourceUtil Show documentation
Open source reference implementation of SDMX
The newest version!
package org.sdmxsource.util.io;
import org.sdmxsource.sdmx.api.util.WriteableDataLocation;
import java.io.OutputStream;
/**
* The type Writeable data location tmp.
*/
public class WriteableDataLocationTmp extends ReadableDataLocationTmp implements WriteableDataLocation {
/**
* Instantiates a new Writeable data location tmp.
*/
public WriteableDataLocationTmp() {
super(URIUtil.getTemporaryURI());
super.deleteOnClose = true;
}
@Override
public OutputStream getOutputStream() {
return URIUtil.getOutputStream(uri);
}
}