Package com.io7m.calino.vanilla.internal
Class CLN1FileWritable
java.lang.Object
com.io7m.calino.vanilla.internal.CLN1FileWritable
- All Implemented Interfaces:
CLNFileWritableType
,Closeable
,AutoCloseable
The main writable file implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createSection
(long identifier) Create a new section with the given identifier.sections()
version()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.io7m.calino.api.CLNFileWritableType
createSectionEnd, createSectionImage2D, createSectionImageArray, createSectionImageCube, createSectionImageInfo, createSectionMetadata
-
Method Details
-
sections
- Specified by:
sections
in interfaceCLNFileWritableType
- Returns:
- The sections currently declared within the file
- Throws:
IOException
- On errors
-
version
- Specified by:
version
in interfaceCLNFileWritableType
- Returns:
- The file version
-
createSection
Description copied from interface:CLNFileWritableType
Create a new section with the given identifier.- Specified by:
createSection
in interfaceCLNFileWritableType
- Parameters:
identifier
- The identifier- Returns:
- A new section
- Throws:
IOException
- On errors
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-