Record Class OgrDriverInfo
java.lang.Object
java.lang.Record
ch.so.agi.gdal.ffm.OgrDriverInfo
-
Constructor Summary
ConstructorsConstructorDescriptionOgrDriverInfo(String shortName, String longName, List<String> extensions, boolean canCreate, boolean isVector) Creates an instance of aOgrDriverInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecanCreaterecord 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.booleanisVector()Returns the value of theisVectorrecord component.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
-
OgrDriverInfo
public OgrDriverInfo(String shortName, String longName, List<String> extensions, boolean canCreate, boolean isVector) Creates an instance of aOgrDriverInforecord class.- Parameters:
shortName- the value for theshortNamerecord componentlongName- the value for thelongNamerecord componentextensions- the value for theextensionsrecord componentcanCreate- the value for thecanCreaterecord componentisVector- the value for theisVectorrecord 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
-
isVector
public boolean isVector()Returns the value of theisVectorrecord component.- Returns:
- the value of the
isVectorrecord component
-