stacycurl / pimpathon

Adds useful methods to scala & java classes.
Apache License 2.0
35 stars 9 forks source link

file.readString()(implicit Codec): String #201

Closed fommil closed 9 years ago

stacycurl commented 9 years ago

Think this should be readString()(implicit codec: Codec), it can be implemented easily by surfacing the implicit codec argument on BufferedSource (returned by File.source)

Charset is implicitly convertible to Codec.