Interface FacetDefinitionReader

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
BinaryStlFacetDefinitionReader, ObjFacetDefinitionReader, TextFacetDefinitionReader, TextStlFacetDefinitionReader

public interface FacetDefinitionReader extends AutoCloseable
Interface for reading facet definitions from an input source.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 occurs
      UncheckedIOException - if an I/O error occurs
    • close

      void close()
      Close this instance and release all associated resources.
      Specified by:
      close in interface AutoCloseable
      Throws:
      UncheckedIOException - if an I/O error occurs