Answer the question
In order to leave comments, you need to log in
What exactly to transfer in a stream?
Good New Year's Eve, gentlemen.
The question is this.
What should be passed in the argument where the stream is required?
I understand that the answer is a stream, but which one and how to create it?
PS I apologize in advance for the stupid question, I just can not solve it myself ...
Answer the question
In order to leave comments, you need to log in
Obviously the output stream to the file you want
try (OutputStream out = new FileOutputStream(new File("test.dxf"))) {
someStreamGenerator.generate(someDoc, out);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question