Package com.io7m.calino.api
Interface CLNFileWritableType
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
CLN1FileWritable
A writable file.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSection
(long identifier) Create a new section with the given identifier.default CLNSectionWritableEndType
Create a new end section.default CLNSectionWritableImage2DType
Create a new image 2D section.default CLNSectionWritableImageArrayType
Create a new image array section.default CLNSectionWritableImageCubeType
Create a new image cube section.default CLNSectionWritableImageInfoType
Create a new image info section.default CLNSectionWritableMetadataType
Create a new metadata section.sections()
version()
-
Method Details
-
sections
- Returns:
- The sections currently declared within the file
- Throws:
IOException
- On errors
-
version
CLNVersion version()- Returns:
- The file version
-
createSection
Create a new section with the given identifier.- Parameters:
identifier
- The identifier- Returns:
- A new section
- Throws:
IOException
- On errors
-
createSectionImageInfo
Create a new image info section.- Returns:
- A new section
- Throws:
IOException
- On errors
-
createSectionMetadata
Create a new metadata section.- Returns:
- A new section
- Throws:
IOException
- On errors
-
createSectionEnd
Create a new end section.- Returns:
- A new section
- Throws:
IOException
- On errors
-
createSectionImage2D
Create a new image 2D section.- Returns:
- A new section
- Throws:
IOException
- On errors
-
createSectionImageArray
Create a new image array section.- Returns:
- A new section
- Throws:
IOException
- On errors
-
createSectionImageCube
Create a new image cube section.- Returns:
- A new section
- Throws:
IOException
- On errors
-