Package net.hydromatic.morel.eval
Class Files.UnknownChildFile
java.lang.Object
net.hydromatic.morel.eval.Files.AbstractFile
net.hydromatic.morel.eval.Files.UnknownFile
net.hydromatic.morel.eval.Files.UnknownChildFile
- All Implemented Interfaces:
File,TypedValue
- Enclosing class:
Files
-
Field Summary
FieldsFields inherited from class net.hydromatic.morel.eval.Files.UnknownFile
PROGRESSIVE_UNIT, PROGRESSIVE_UNIT_LISTFields inherited from class net.hydromatic.morel.eval.Files.AbstractFile
baseName, fileType, ioFile -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUnknownChildFile(Files.Directory directory, File file, Files.FileType fileType) -
Method Summary
Methods inherited from class net.hydromatic.morel.eval.Files.UnknownFile
discoverField, typeKey, valueAsMethods inherited from class net.hydromatic.morel.eval.Files.AbstractFile
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.hydromatic.morel.type.TypedValue
fieldValueAs, fieldValueAs
-
Field Details
-
directory
-
-
Constructor Details
-
UnknownChildFile
-
-
Method Details
-
expand
Description copied from interface:FileExpands this file to a file with a more precise type.During expansion, record types may get new fields, never lose them.
This file object may or may not be mutable. If this file is immutable and is expanded, returns the new file. If this file is mutable, returns this file regardless of whether expansion occurred; the caller cannot discern whether expansion occurred.
- Specified by:
expandin interfaceFile- Overrides:
expandin classFiles.UnknownFile
-