| fileContentsToString ? [message #846654] |
Mon, 16 April 2012 10:22  |
Cristiano Gaviao Messages: 247 Registered: July 2009 |
Senior Member |
|
|
Hi,
at the Xtext docs I could see an example of xtend that uses this:
val data = try {
fileContentsToString('data.txt')
} catch (IOException e) {
'dummy data'
}
I've tried to use it in one xtend class but I'm getting error "Couldn't resolve reference to JvmIdentifiableElement 'fileContentsToString'."
This fileContentsToString exists ? if yes, could someone point the right import that I must use?
regards,
Cristiano
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01716 seconds