File Document Literals

The file document literal is always of type Document.


FileDocumentLiteral:
 	FileDocumentDeclarator [ComplexLiteralInputChars] FileDocumentDeclarator [Expression]
FileDocumentDeclarator:
	any case for FILE
FILE document literal requires absolute path for the file name located on CCX:
  • If the sequence of characters can be parsed as an expression of type String or java.io.File, then the resulting document is a file document where the expression specifies the filename where to retrieve the document from.

  • If the sequence of characters cannot be parsed properly as described above, then it is considered to be the filename where to retrieve the document from.

Example File document Literals:


FILE[/opt/cisco/uccx/Customer/template.doc]
FILE[root + u"\\help.txt"] FILE[new File(rootDirectory, "template.txt")]