Changes for page !Test_file_path
Last modified by Alexandru Colesnicov on 2020/01/27 13:47
edited by Alexandru Colesnicov
on 2019/10/02 14:26
on 2019/10/02 14:26
edited by Alexandru Colesnicov
on 2019/10/02 14:19
on 2019/10/02 14:19
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,23 +7,19 @@ 7 7 import java.net.URL; 8 8 9 9 att = doc.getAttachment("TestingData.xls") 10 - println ("att = doc.getAttachment(\"TestingData.xls\")") 11 - println (" att: variable got its value") 12 - println (" att: Class is " + att.getClass().getSimpleName() + " (" + att.getClass().getName() + ")") 10 + println ("att: variable got its value") 11 + println ("att: Class is " + att.getClass().getSimpleName() + " (" + att.getClass().getName() + ")") 13 13 14 14 xwa = att.getAttachment() 15 - println ("xwa = att.getAttachment()") 16 - println (" xwa: variable got its value") 17 - println (" xwa: Class is " + xwa.getClass().getSimpleName() + " (" + xwa.getClass().getName() + ")") 14 + println ("xwa: variable got its value") 15 + println ("xwa: Class is " + xwa.getClass().getSimpleName() + " (" + xwa.getClass().getName() + ")") 18 18 19 19 sfi = xwa.getAttachment_content().storageFile 20 - println ("sfi = xwa.getAttachment_content().storageFile") 21 - println (" sfi: variable got its value") 22 - println (" sfi: Class is " + sfi.getClass().getSimpleName() + " (" + sfi.getClass().getName() + ")") 18 + println ("sfi: variable got its value") 19 + println ("sfi: Class is " + sfi.getClass().getSimpleName() + " (" + sfi.getClass().getName() + ")") 23 23 24 - apa = sfi.getAbsolutePath() 25 - println ("apa = sfi.getAbsolutePath()") 26 - println (" apa: variable got its value = " + apa) 27 - println (" apa: Class is " + sfi.getClass().getSimpleName() + " (" + sfi.getClass().getName() + ")") 21 + apa = sfi.getAbsolutePath().storageFile 22 + println ("apa: variable got its value = " + apa) 23 + println ("apa: Class is " + sfi.getClass().getSimpleName() + " (" + sfi.getClass().getName() + ")") 28 28 29 29 {{/groovy}}