Scala.io

1,768 views

Published on

Scala.io

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,768
On SlideShare
0
From Embeds
0
Number of Embeds
440
Actions
Shares
0
Downloads
15
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Scala.io

  1. 1. Scala.ioSoftware Architect | Agile Coach
  2. 2. Jupter io
  3. 3. #Fear
  4. 4. Io extensions
  5. 5. Java 7 NIO
  6. 6. Sbt PathFinder
  7. 7. Scala-io-coreScala-io-file
  8. 8. Features • Access Segment Of Input • Async Read Write • Skipping Bytes • Processing Future • Taking Bytes • Async Long Traversable Call Back • Take While • Processor With Time Outs • Limited Fold • Processor To Long Traversable • AsFooConverter • Future Exec • As Input • Async Long Traversable Folding • As Output • Long Traversable Slicing And • As Seekable Asynchronisity • As Write Chars • Basic Read Write • As Read Chars • Java To Scala Right Way •As Unmanaged Foo • Java To Scala Wrong Way • Basic Input • Basic Output • Buffered I O • Codecs
  9. 9. Features • Basic Read Write • LongTraversable As Seq • Read Csv File • Zipping • Add All Bytes • Same Elements • Load Into Memory • Sliding On Long Traversable • All Chars • More Input • Print Lines • Basic Input • Writing-* • Convert Traversable To Input • InputComposition • Copy To • Zip And Compare • More Output • Block Compare • Basic Output •Lines • Convert Object To Output • Lines Defaults • Multiple Writes Single Connection • Lines Auto Include Terminators • Lines New Line Terminator • Lines Custom Terminator
  10. 10. Features• Processing • Seekable • Read Binary File • Patch • Parse Multiple Files • Insert • Basic Error Handling • Append • Group Error Handling • Convert Object To Seekable• Resources • Multiple Accesses • Wrap Closeables • Standard Java Interop • Create Resources • Writing With Typeclasses • Using Io Resources • Common Cases • Create Resources That Arent Closed • Ints As Bytes • Perform Additional Action On Close • Writing Arrays • Why Are Close Actions Contravariant •Strings And Characters •Custom Data Types
  11. 11. Code
  12. 12. Code
  13. 13. Code
  14. 14. Scala.ioSoftware Architect | Agile Coach

×