Click here to Skip to main content
       

Press Releases

Welcome to the new Press Releases forum! Our old press release system has been retired but we've moved everything and everyone to a new, shinier home. Enjoy!

A press release must be written for the purpose of announcing something newsworthy. Advertisements, promotions, or anything smelling even vaguely of spam will be deleted. All press releases must be relevant to the development community.

 
GeneralAdd Licensing, Copy-Protection To Your Apps Quickly & Easily With CryptoLicensing For ActiveX 2012 R2 PinmemberLogicNP1-Oct-12 23:51 
GeneralAspose.Newsletter October 2012 Edition is Out Now PinmemberUsman Sarfraz1-Oct-12 20:13 
GeneralMigrate .Net Windows Forms to Java using CodePorting App Pinmembercodeporting1-Oct-12 19:37 
GeneralGet Count of All Bookmarks & Manage Selected Bookmarks in a PDF File Pinmembersaaspose30-Sep-12 19:05 
General10 Evident Advantages of using CodePorting for Converting C# Apps to Java Pinmembercodeporting30-Sep-12 18:34 
NewsWorkshop on WSO2 Integration Platform Discovery Comes to Atlanta Pinmemberandrew.kinetic27-Sep-12 10:04 
NewsTypemock Introduces Unit Testing Tools for All Levels of Development PinmemberNCSM27-Sep-12 5:53 
GeneralCodePorting Converts C# Delegates to Java Instantly Pinmembercodeporting27-Sep-12 0:26 
CodePorting C#2Java Application is a cloud based converter that has accomplished immense popularity because of its broad collection of supported C# language constructs. Its powerful engine parse and transforms thousand of C# souce code lines to java in few seconds.
CodePorting has recently imrpoved its C#2Java engine and now its capable of converting C# source code having delegates in it to java. In C# programming language, delegate is a form of type-safe function pointer which is mostly used for call backs and event listener. Unfortunately, there is no delegate construct in Java so while converting C# code to Java, C#2Java engine intelligently converts the delegates to interfaces with the invoke method call by auto generating required code.
 
Lets take an example of how codeporting engine converts C# delegates to java interfaces.
 
C# Code:
 
using System.Collections.Generic;
using System;
using System.Linq;
public class Delegate
{
public static void Main(string[> arg)
{

Del handler = DelegateMethod;

// Call the delegate.
handler("Hello World");

}
public delegate void Del(string message);

public static void DelegateMethod(string message)
{
Console.WriteLine(message);

}
}
Java Code:
 
// ********* THIS FILE IS AUTO PORTED FROM C# USING CODEPORTING.COM *********

public class Delegate
{
public static void main(String[> arg)
{

Del handler = new Del() {
public void invoke(String message) {
delegateMethod(message);
}};

// Call the delegate.
handler.invoke("Hello World");

}
public interface Del{
void invoke(String message);
}

public static void delegateMethod(String message)
{
System.out.printf(message);

}
}
 
Newly added articles and documentation pages
 
- CodePorting Converts C# Delegates to Java Instantly[/url
- CodePorting has
converted more than 5 Million lines of C# code to Java
- Convert C# is Operator to instanceof Operator in Java
- List of Conversions Supported by CodePorting C#2Java Engine
 
About CodePorting C#2Java App
 
CodePorting helps you make your .NET applications cross platform compatible and allows migrating your .NET solutions, projects and files into Java in the cloud. Other than speed and accuracy of conversion; port your C# code directly either by uploading .cs files contained in a .zip file or import directly from popular version control repositories like GIT, Mercurial HG and SubVersion. You can also download a Microsoft Visual Studio plugin and convert C# code in the real time without leaving the development environment. You may also build your own customized code conversion applications using CodePorting APIs.
 
Read more about CodePorting
 
- Start converting C# Apps and source code to Java
- CodePorting Homepage
- CodePorting C#2Java Homepage
- CodePorting Documentation
- Watch out CodePorting introductory video
 

Contact Us
 
Suite 163, 79 Longueville Road
Lane Cove, NSW 2066, Australia
Codeporting – Your CodePorting Experts
Skype Name: CodePorting
Email: support [@] codeporting [dot] com
GeneralSelect PDF Image & Extract Text from Image of PDF File in the Cloud Pinmembersaaspose26-Sep-12 16:58 
GeneralCodePorting - Your Expert for Online C# to Java Conversion Pinmembercodeporting25-Sep-12 23:38 
GeneralJava Library for Images Conversion to PSD, BMP, JPEG, PNG, TIFF or GIF PinmemberUsman Sarfraz25-Sep-12 21:28 
NewsWSO2 to Present Technical Webinar on Promoting Service Reuse with API Management Pinmemberandrew.kinetic25-Sep-12 20:19 
NewsLEAD Technologies Enhances HTML5 Medical Viewer in LEADTOOLS 17.5 PingroupLEADTOOLS Support25-Sep-12 6:27 
GeneralAccusoft Releases Barcode Reader App, Extends Mobile SDK Support PinmemberPegasus Imaging25-Sep-12 5:46 
NewsWSO2 Partners with Wipro to Deliver Open Source Middleware Solutions Pinmemberandrew.kinetic24-Sep-12 9:08 
GeneralGet Number of Images in a Slide or Presentation & Save Slide as Image Pinmembersaaspose23-Sep-12 18:18 
NewsCppDepend version 3 released! PinmemberIssam Lahlali23-Sep-12 0:25 
GeneralCODEPROJECT.COM: NEW LOOK EASIER TO USE, MORE “MODERN” PinstaffSean Ewington21-Sep-12 9:21 
GeneralTX Spell .NET 3.0 released! PinmemberChristopher Krause21-Sep-12 0:42 
NewsAerospike Founder Demonstrates How to Break the Predictable Database Performance Barrier at the Surge 2012 Scalability and Performance Conference Pinmemberandrew.kinetic20-Sep-12 8:55 
NewsWSO2 to Present Webinar on Optimizing Deployment Scalability, Availability and Management Using the WSO2 Carbon Enterprise Middleware Platform Pinmemberandrew.kinetic20-Sep-12 8:45 
GeneralEDUCATIONAL SOFTWARE EDUMATTER M-12 FOR WINDOWS HAS BEEN RELEASED [modified] PinmemberDrABELL20-Sep-12 6:06 
GeneralRemove Duplicate Fonts from PDF, Form Fields Extraction from PDF Region PinmemberUsman Sarfraz19-Sep-12 17:38 
NewsAerospike Leads DataWeek Panel of Enterprise IT Executives in Discussing the Demands of Real-Time Analytics with Big Data Pinmemberandrew.kinetic19-Sep-12 8:17 
NewsContextin Powers 10 Billion Real-Time Pricing Decisions Per Day Using the Aerospike NoSQL Database and Key-Value Store Pinmemberandrew.kinetic19-Sep-12 8:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140814.1 | Last Updated 20 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid