pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin private pastebin - collaborative debugging tool What's a private pastebin?

Posted by Anonymous on Tue 28th Dec 16:13
View followups from Anonymous | download | new post

  1. try {
  2.             OutputConnection connection = (OutputConnection)"file://c:/myfile.txt;append=true", Connector.WRITE);
  3.             OutputStream out = connection.openOutputStream();
  4.             PrintStream output = new PrintStream(out);
  5.             output.println("This is a test.");
  7.         } catch (Exception ex) {
  8.         } finally {
  9.             out.close();
  10.             connection.close();
  11.         }

Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Use syntax highlighting

To highlight particular lines, prefix each line with @@

Remember my settings