How to Convert Objects between Java and WinFx

Started by sukishan, Sep 04, 2009, 09:45 PM

previous topic - next topic
Go Down

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

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

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's 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 submit/post or alt+p preview
IT Acumens | GinGly :: SMS Backup | Acumen :: Discussion Board | AshokPillar :: Hosting | CineBuzz :: Latest Cinema News | My Kids Diary :: Capture your kids magical moment
Copyright 2005 - 2017 :: IT Acumens :: All Rights Reserved.
ITAcumens Forum with 2 lakhs post running for 10 years - Powered by HostGator Dedicated Server