News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

How to Convert Objects between Java and WinFx

Started by sukishan, Sep 04, 2009, 04:15 PM

Previous topic - Next topic

sukishan

How to Convert Objects between Java and WinFx
Java to WinFx
WinFx to Java
Java → WinFx
java.io.InputStream → System.IO.Stream
new DotNetInputStream(java.io.InputStream)

java.io.OutputStream → System.IO.Stream
new DotNetOutputStream(java.io.OutputStream )

java.util.Collection → System.Collections.IEnumerable
new DotNetEnumerable(java.util.Collection)

java.util.Enumeration → System.Collections.IEnumerator
new DotNetEnumerator(java.util.Enumeration)

java.util.Iterator → System.Collections.IEnumerator
new DotNetEnumerator(java.util.Iterator)

WinFx → Java
System.IO.Stream → java.io.InputStream
new JavaInputStream(System.IO.Stream)

System.IO.Stream → java.io.OutputStream
new JavaOutputStream(System.IO.Stream)

System.Collections.IEnumerator → java.util.Enumeration
new JavaEnumeration(System.Collections.IEnumerator)

System.Collections.IEnumerator → java.util.Iterator
new JavaIterator(System.Collections.IEnumerator)
A good beginning makes a good ending

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview