Created
July 26, 2011 14:28
-
-
Save axeda/1106890 to your computer and use it in GitHub Desktop.
Handling uploaded files script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.axeda.drm.sdk.scm.CompressedFile | |
| if (compressedFile != null) | |
| { | |
| File file = compressedFile.getFiles()[0].extractFile() | |
| def result = file.eachLine { line -> | |
| return line | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment