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 CLNSectionWritableEndTypeCreate a new end section.default CLNSectionWritableImage2DTypeCreate a new image 2D section.default CLNSectionWritableImageArrayTypeCreate a new image array section.default CLNSectionWritableImageCubeTypeCreate a new image cube section.default CLNSectionWritableImageInfoTypeCreate a new image info section.default CLNSectionWritableMetadataTypeCreate 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
-