This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
NetBeans shows me only this list of classes and interfaces in
ByteArrayInputStream, ByteArrayOutputStream, DataInput, DataInputStream, DataOutput, DataOutputStream, InputStream, InputStreamReader, OutputStream, OutputStreamWriter, PrintStream, Reader, Writer.

Why it so short?

And how I can write data to file?

Data can be array of bytes (byte[]) or Object it better.
Ranch Hand
Posts: 38
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2ME is very compact. it doesn't have any of FileReader, FileInputStream etc.
To access files, use GCF (Generic Connection Framework)

NOTE: this will work only if your device supports FileConnections API (which is optional API)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!