Package ch.rswk.meta.engine
Record Class FileService.LocalDownload
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.FileService.LocalDownload
- Enclosing class:
FileService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocalDownload
(FileInfo info, Path path) Creates an instance of aLocalDownload
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.info()
Returns the value of theinfo
record component.path()
Returns the value of thepath
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
info
The field for theinfo
record component. -
path
The field for thepath
record component.
-
-
Constructor Details
-
LocalDownload
-
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
info
Returns the value of theinfo
record component.- Returns:
- the value of the
info
record component
-
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-