Packages

 

com.aspose.cad.fileformats.cad.dwg.pageandsection.writer

Class CadWriter

  • java.lang.Object
    • com.aspose.cad.fileformats.cad.dwg.pageandsection.writer.CadWriter
    • Constructor Detail

      • CadWriter

        public CadWriter()
    • Method Detail

      • getInstanceWriter

        public static ICadWriter getInstanceWriter(InputStream stream,
                                                   com.aspose.cad.StreamContainer baseStream,
                                                   CadImage cadImage,
                                                   int specifiedEncoding,
                                                   String filePath)

        Get instance writer

        Parameters:
        stream - The stream
        baseStream - The baseStream
        cadImage - THe cadImage
        specifiedEncoding - The specifiedEncoding
        filePath - the filePath
        Returns:
        ICadWriter interface
      • registerWriter

        public static void registerWriter(Class<?> writer,
                                          String format)

        Registers the writer.

        Parameters:
        writer - The writer.
        format - The format.