The java.io Package
See Chapter 10, for details of the .NET types listed in Table F-4, which displays the mapping between the Java java.io package and the corresponding .NET types.
Table F-4. The Java to .NET Mapping for the java.io Package
Java | .NET |
|---|---|
BufferedInputStream | System.IO.BufferedStream |
BufferedOutputStream | System.IO.BufferedStream |
BufferedReader | System.IO.StreamReader |
BufferedWriter | System.IO.StreamWriter |
ByteArrayInputStream | System.IO.MemoryStream |
ByteArrayOutputStream | System.IO.MemoryStream |
CharArrayReader | System.IO.StreamReader |
CharArrayWriter | System.IO.StreamWriter |
DataInputStream | System.IO.BinaryReader |
DataOutputStream | System.IO.BinaryWriter |
File | System.IO.File |
FileInputStream | System.IO.FileStream |
FileOutputStream | System.IO.FileStream |
FilePermission | N/A |
FileReader ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access