Module org.refcodes.filesystem
Package org.refcodes.filesystem
Interface FileHandleAccessor.FileHandleProperty
-
- All Superinterfaces:
FileHandleAccessor
,FileHandleAccessor.FileHandleMutator
- Enclosing interface:
- FileHandleAccessor
public static interface FileHandleAccessor.FileHandleProperty extends FileHandleAccessor, FileHandleAccessor.FileHandleMutator
Provides a file handle property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.filesystem.FileHandleAccessor
FileHandleAccessor.FileHandleMutator, FileHandleAccessor.FileHandleProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FileHandle
letFile(String aFile)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given file handle (setter) as ofFileHandleAccessor.FileHandleMutator.setFile(String)
and returns the very same value (getter) being produced to aFileHandle
(as ofFileHandleAccessor.getFile()
).-
Methods inherited from interface org.refcodes.filesystem.FileHandleAccessor
getFile
-
Methods inherited from interface org.refcodes.filesystem.FileHandleAccessor.FileHandleMutator
setFile
-
-
-
-
Method Detail
-
letFile
default FileHandle letFile(String aFile)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given file handle (setter) as ofFileHandleAccessor.FileHandleMutator.setFile(String)
and returns the very same value (getter) being produced to aFileHandle
(as ofFileHandleAccessor.getFile()
).- Parameters:
aFile
- The file to set (viaFileHandleAccessor.FileHandleMutator.setFile(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-