Record Class FontSource.Classpath
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.FontSource.Classpath
- Record Components:
resource- 資源名稱,例如/fonts/NotoSansTC-Regular.ttf
- All Implemented Interfaces:
FontSource
- Enclosing interface:
FontSource
classpath 上的字型資源
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface FontSource
FontSource.Bytes, FontSource.Classpath, FontSource.File -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.resource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Classpath
-
-
Method Details
-
description
- Specified by:
descriptionin interfaceFontSource- Returns:
- 用於錯誤訊息的描述
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
resource
-