⚲
Project
Profile
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Search
:
Projects
All Projects
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Saxon
Overview
Roadmap
Issues
Calendar
Blog
Documents
Forums
Files
Repository
Download (759 Bytes)
Support #3237
» NonCloseFileOutputStream.java
Aniruddha Joag
, 2017-05-25 17:44
package
test.saxon.streaming.transformerhandler
;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
public
class
NonCloseFileOutputStream
extends
FileOutputStream
{
public
NonCloseFileOutputStream
(
File
file
)
throws
FileNotFoundException
{
super
(
file
);
}
@Override
public
void
close
()
throws
IOException
{
for
(
StackTraceElement
ste
:
Thread
.
currentThread
().
getStackTrace
())
{
System
.
out
.
println
(
ste
);
}
//super.close();
}
@Override
public
void
flush
()
throws
IOException
{
for
(
StackTraceElement
ste
:
Thread
.
currentThread
().
getStackTrace
())
{
System
.
out
.
println
(
ste
);
}
super
.
flush
();
}
}
« Previous
1
2
3
4
…
15
Next »
(2-2/15)
Loading...