Record Class RasterDriverInfo
java.lang.Object
java.lang.Record
ch.so.agi.gdal.ffm.RasterDriverInfo
-
Constructor Summary
ConstructorsConstructorDescriptionRasterDriverInfo(String shortName, String longName, List<String> extensions, boolean canCreate, boolean canCreateCopy) Creates an instance of aRasterDriverInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecanCreaterecord component.booleanReturns the value of thecanCreateCopyrecord 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.Returns the value of theshortNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RasterDriverInfo
public RasterDriverInfo(String shortName, String longName, List<String> extensions, boolean canCreate, boolean canCreateCopy) Creates an instance of aRasterDriverInforecord class.- Parameters:
shortName- the value for theshortNamerecord componentlongName- the value for thelongNamerecord componentextensions- the value for theextensionsrecord componentcanCreate- the value for thecanCreaterecord componentcanCreateCopy- the value for thecanCreateCopyrecord 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
Returns the value of theshortNamerecord component.- Returns:
- the value of the
shortNamerecord component
-
longName
Returns the value of thelongNamerecord component.- Returns:
- the value of the
longNamerecord component
-
extensions
-
canCreate
public boolean canCreate()Returns the value of thecanCreaterecord component.- Returns:
- the value of the
canCreaterecord component
-
canCreateCopy
public boolean canCreateCopy()Returns the value of thecanCreateCopyrecord component.- Returns:
- the value of the
canCreateCopyrecord component
-