Record Class GdalDriver
java.lang.Object
java.lang.Record
com.eco.bio7.gdal.GdalDriver
- Record Components:
shortName- the name for the options (e.g., GTiff)longName- the description (e.g., GeoTIFF)raster- true if it reads or writes rastersvector- true if it reads or writes vectorscreate- true if it can create files (GDALCreate)extensions- the file extensions (e.g., "tif tiff"), may be empty
-
Constructor Summary
ConstructorsConstructorDescriptionGdalDriver(String shortName, String longName, boolean raster, boolean vector, boolean create, String extensions) Creates an instance of aGdalDriverrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancreate()Returns the value of thecreaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionsrecord component.final inthashCode()Returns a hash code value for this object.longName()Returns the value of thelongNamerecord component.booleanraster()Returns the value of therasterrecord component.Returns the value of theshortNamerecord component.final StringtoString()Returns a string representation of this record class.booleanvector()Returns the value of thevectorrecord component.
-
Constructor Details
-
GdalDriver
public GdalDriver(String shortName, String longName, boolean raster, boolean vector, boolean create, String extensions) Creates an instance of aGdalDriverrecord class.- Parameters:
shortName- the value for theshortNamerecord componentlongName- the value for thelongNamerecord componentraster- the value for therasterrecord componentvector- the value for thevectorrecord componentcreate- the value for thecreaterecord componentextensions- the value for theextensionsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
shortName
-
longName
-
raster
-
vector
-
create
-
extensions
Returns the value of theextensionsrecord component.- Returns:
- the value of the
extensionsrecord component
-