Package ucar.nc2.ft2.coverage.writer
Class CFGridCoverageWriter.Result
- java.lang.Object
-
- ucar.nc2.ft2.coverage.writer.CFGridCoverageWriter.Result
-
- Enclosing class:
- CFGridCoverageWriter
public static class CFGridCoverageWriter.Result extends Object
A value class holding information about the write()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CFGridCoverageWriter.Resultcreate(long sizeToBeWritten, boolean wasWritten, String errorMessage)StringgetErrorMessage()longsizeToBeWritten()Estimated number of bytes the file will take.booleanwasWritten()Whether the file was created or not.
-
-
-
Method Detail
-
sizeToBeWritten
public long sizeToBeWritten()
Estimated number of bytes the file will take. This is NOT exactly the size of the the whole output file, but it's close.
-
wasWritten
public boolean wasWritten()
Whether the file was created or not.
-
getErrorMessage
@Nullable public String getErrorMessage()
-
create
public static CFGridCoverageWriter.Result create(long sizeToBeWritten, boolean wasWritten, @Nullable String errorMessage)
-
-