User aed4f53879
		22-10-2013 22:23:49
	 
	
	
	I'm trying to port a java program to.NET.   The docs are clear, I found the .dll I nedd,  but I'm not sure how to use the constructor StructureToJC4XL(java.io.OutputStream) in .NET.  How do I get a 
java.io.OutputStream object in .NET.
Here's a snip of my working java code:<
ByteArrayOutputStream out = new ByteArrayOutputStream();
StructureToJC4XL sheet = new StructureToJC4XL(out);
TJ
	
	 
 
	
		ChemAxon bd13b5bd77
		23-10-2013 07:35:14
	 
	
 
	
		ChemAxon eb65a25631
		24-10-2013 08:29:20
	 
	
	
	If you insist on using java API:
OutputStream is an abstract class,  for example, for file operations you would use a java.io.FileOutputStream instance here, which inherits from OutputStream.
The rest you can find in the JDK APIDoc.
 
Regards,
Andras
	
	 
 
	
		User aed4f53879
		24-10-2013 19:46:06
	 
	
	
	Yes, OutputStream is an abstract class.  That is why I used ByteArrayOutputStream in my working java code.
I am trying to convert this to C#.NET and do not know what C# type to use that will allow me to instantiate StructureToJC4XL.
 
TJ
	
	 
 
	
		ChemAxon eb65a25631
		25-10-2013 11:51:08
	 
	
	
	Ok, I see.
You cannot use the StructureToJC4XL class (or any java classes converted from Java) without the whole IKVM infrastructure in .NET.
I suggest what Viktor wrote, to rewrite the code based on out pure .NET API (see links below).
Regards,
Andras