Package io.kestra.storage.local
Class LocalFileAttributes
java.lang.Object
io.kestra.storage.local.LocalFileAttributes
- All Implemented Interfaces:
io.kestra.core.storages.FileAttributes
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kestra.core.storages.FileAttributes
io.kestra.core.storages.FileAttributes.FileType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetMetadata(Path filePath) longgetSize()io.kestra.core.storages.FileAttributes.FileTypegetType()
-
Constructor Details
-
LocalFileAttributes
public LocalFileAttributes()
-
-
Method Details
-
getFileName
- Specified by:
getFileNamein interfaceio.kestra.core.storages.FileAttributes
-
getLastModifiedTime
public long getLastModifiedTime()- Specified by:
getLastModifiedTimein interfaceio.kestra.core.storages.FileAttributes
-
getCreationTime
public long getCreationTime()- Specified by:
getCreationTimein interfaceio.kestra.core.storages.FileAttributes
-
getType
public io.kestra.core.storages.FileAttributes.FileType getType()- Specified by:
getTypein interfaceio.kestra.core.storages.FileAttributes
-
getSize
public long getSize()- Specified by:
getSizein interfaceio.kestra.core.storages.FileAttributes
-
getMetadata
- Specified by:
getMetadatain interfaceio.kestra.core.storages.FileAttributes- Throws:
IOException
-
getMetadata
- Throws:
IOException
-