com.supermap.data.conversion

Class ImportSettingDWG



  • public class ImportSettingDWG
    extends ImportSetting
    DWG file import parameter class
    • Constructor Detail

      • ImportSettingDWG

        public ImportSettingDWG()
        The default constructor creates a new ImportSettingDWG object
      • ImportSettingDWG

        public ImportSettingDWG(ImportSettingDWG importSettingDWG)
        Copy the constructor, and return an ImportSettingDWG object with the same set of information
        Parameters:
        importSettingDWG - Setting parameters
      • ImportSettingDWG

        public ImportSettingDWG(java.lang.String sourceFilePath,
                                DatasourceConnectionInfo targetConnectionInfo)
        Constructs an ImportSettingDWG object by specifying the source file
        Parameters:
        sourceFilePath - Source file full path
        targetConnectionInfo - Target data source connection information
      • ImportSettingDWG

        public ImportSettingDWG(java.lang.String sourceFilePath,
                                Datasource targetDatasource)
        Constructors that construct a new ImportSettingDWG object from the specified source file
        Parameters:
        sourceFilePath - Source file full path
        targetDatasource - Target data source
    • Method Detail

      • isImportingAsCAD

        public boolean isImportingAsCAD()
        Gets whether the target dataset type is a CAD type and defaults to true
        Returns:
        Whether it is a CAD type
      • setImportingAsCAD

        public void setImportingAsCAD(boolean value)
        Set the import mode, that is, the target data set type, that is, into the CAD data set, otherwise the data corresponding to the type of simple vector data set
        Parameters:
        value - Whether it is imported into a CAD dataset
      • getSpatialIndex

        public SpatialIndexInfo getSpatialIndex()
        Gets the spatial index type, which is valid when the isSpatialIndexAutoBuilt property is true
        Returns:
        Spatial index type
      • setSpatialIndex

        public void setSpatialIndex(SpatialIndexInfo value)
        Set the spatial index type
        Parameters:
        value - Spatial index type
      • isAttributeIgnored

        public boolean isAttributeIgnored()
        Gets whether or not to ignore the attribute
        Returns:
        Whether the attribute is ignored
      • setAttributeIgnored

        public void setAttributeIgnored(boolean value)
        Sets whether or not to ignore attributes
        Parameters:
        value - Whether the attribute is ignored
      • getStyleMapFilePath

        public java.lang.String getStyleMapFilePath()
        Get the style control path
        Returns:
        path
      • setStyleMapFilePath

        public void setStyleMapFilePath(java.lang.String value)
        Set the style control path
        Parameters:
        value - path
      • dispose

        public void dispose()
        Disposes resources.
      • setIsBlackWhiteInverse

        public void setIsBlackWhiteInverse(boolean inverse)
        Set whether black and white anti-color
        Parameters:
        inverse - Whether black and white anti-color
      • getIsBlackWhiteInverse

        public boolean getIsBlackWhiteInverse()
        Whether black and white anti-color
        Returns:
        Whether black and white anti-color