Skip to content

Instantly share code, notes, and snippets.

@axeda
Created July 26, 2011 14:28
Show Gist options
  • Select an option

  • Save axeda/1106890 to your computer and use it in GitHub Desktop.

Select an option

Save axeda/1106890 to your computer and use it in GitHub Desktop.
Handling uploaded files script
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