All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperscala.examples.ui.FileUploaderExample.scala Maven / Gradle / Ivy

package org.hyperscala.examples.ui

import org.hyperscala.examples.Example
import org.hyperscala.ui.widgets.FileUploader
import org.jboss.netty.handler.codec.http.multipart.FileUpload

/**
 * @author Matt Hicks 
 */
class FileUploaderExample extends Example {
  contents += new FileUploader {
    def uploaded(upload: FileUpload) = {
      println("File Uploaded: %s / %s".format(upload.getFilename, upload.getFile.getAbsolutePath))
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy