Skip to content

Instantly share code, notes, and snippets.

View skylander86's full-sized avatar
🎯
Focusing

Yanchuan Sim skylander86

🎯
Focusing
View GitHub Profile
@skylander86
skylander86 / FileSystemUtils.scala
Last active October 28, 2016 09:13
Scala module for I/O on different filesystems
package nlp.salience.fsutils
/**
* @author yc <https://github.com/skylander86/>
* @version 0.1
*
* This package contains code for transparently reading and writing files to/from supported filesystems.
* This is useful as a drop in replacement that understands filesystem differences.
* Right now, it only supports local file, S3 (either using Hadoop or Amazon AWS SDK) and Hadoop filesystem.
*
* Example usage: