Interface FacetDefinitionReader
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BinaryStlFacetDefinitionReader
,ObjFacetDefinitionReader
,TextFacetDefinitionReader
,TextStlFacetDefinitionReader
Interface for reading
facet definitions
from an input source.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close this instance and release all associated resources.Return the next facet definition from the input source or null if no more facets are available.
-
Method Details
-
readFacet
FacetDefinition readFacet()Return the next facet definition from the input source or null if no more facets are available.- Returns:
- the next facet definition or null if no more facets are available
- Throws:
IllegalStateException
- if a data format error occursUncheckedIOException
- if an I/O error occurs
-
close
void close()Close this instance and release all associated resources.- Specified by:
close
in interfaceAutoCloseable
- Throws:
UncheckedIOException
- if an I/O error occurs
-