You can know about schema and its attributes through the
information provided here.
Input Schema
- file - java.io.File
- This attribute contains a Java™ File
object that points to the real file or directory on the file system.
- name - java.lang.String
- This attribute contains local name of the file or directory.
- parent - java.lang.String
- This attribute contains parent path of the file or directory.
- fullPath - java.lang.String
- This attribute contains canonical path of the file or directory.
This attribute is different from the combination of parent and name
attributes, in case of symbolic links.
- isReadOnly - java.lang.Boolean
- This attribute shows if the file or directory is read-only.
Note: This
attribute depends on how the underlying operating system handles file
permission. For example, the root user in UNIX-based systems has absolute rights for all
files and directories. Therefore, if you are logged in as root, the
value of the isReadOnly is false when running this
connector.
- isHidden - java.lang.Boolean
- This attribute shows if the file or directory is hidden.
- isDirectory - java.lang.Boolean
- This attribute shows if the Input Entry is a file or a directory.
The value null indicates problems with the
underlying file system.
- isSymbolicLink - java.lang.Boolean
- This attribute shows if the file or directory is a symbolic link
(not functional under Windows).
- lastModified - java.util.Date
- length - java.lang.Long
- This attribute contains length of the file or directory.
Output Schema
- fullPath - java.lang.String
- This attribute contains canonical path of the file or directory.
- parent - java.lang.String
- This attribute contains parent path of the file or directory.
- name - java.lang.String
- This attribute contains local name of the file or directory.
- content - java.lang.Object
- This attribute contains new initial content for file. It can be
a byte array or a string.
- charSet - java.lang.String
- This attribute shows which character set to be used for serializing
content if it is a string object.
- isDirectory - java.lang.Boolean
- This attribute shows if the output Entry is a file or a directory.
This attribute is mandatory when creating a file or directory, but
cannot be used when updating an existing file or directory.
- isReadOnly - java.lang.Boolean
- This attribute shows if the file or directory is Read-Only. This
Attribute is an optional. Furthermore, it is not applicable when modifying
an existing file or directory.