public class NetcdfCopier extends Object implements Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static NetcdfCopier |
create(NetcdfFile fileIn,
NetcdfFormatWriter.Builder<?> ncwriter) |
static void |
setDebugFlags(DebugFlags debugFlags) |
void |
write(CancelTask cancel)
Write the input file to the output file.
|
public static void setDebugFlags(DebugFlags debugFlags)
public static NetcdfCopier create(NetcdfFile fileIn, NetcdfFormatWriter.Builder<?> ncwriter)
public void write(@Nullable CancelTask cancel) throws IOException
cancel - allow user to cancel; may be null.IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException