Interface FacetDefinitionReader
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BinaryStlFacetDefinitionReader
,ObjFacetDefinitionReader
,TextFacetDefinitionReader
,TextStlFacetDefinitionReader
public interface FacetDefinitionReader extends java.lang.AutoCloseable
Interface for readingfacet definitions
from an input source.- See Also:
FacetDefinition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close this instance and release all associated resources.FacetDefinition
readFacet()
Return the next facet definition from the input source or null if no more facets are available.
-
-
-
Method Detail
-
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:
java.lang.IllegalStateException
- if a data format error occursjava.io.UncheckedIOException
- if an I/O error occurs
-
close
void close()
Close this instance and release all associated resources.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.io.UncheckedIOException
- if an I/O error occurs
-
-