![]() |
| |||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| Help & Support Information on the useage and anything else of Phex
- Unless you are using or asking about PHEX, please do not post in this section (Get ”Phex 3.4.2.163 universal" now) |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |
| |||
| The concept was changed. But the functionality is still available you just need to hook it into the code by yourself. Here is some example code blog: Code: File file = new File( "/phex/query.log" );
File parent = file.getParentFile();
if ( parent != null )
{
parent.mkdirs();
}
file.createNewFile();
fileWriter = new FileWriter( file.getAbsolutePath(), true );
QueryMsgToWriterMonitor monitor = new QueryMsgToWriterMonitor( fileWriter );
Servent.getInstance().getMessageService().addMessageSubscriber(
QueryMsg.class, monitor ); SourceForge.net Repository - [phex] View of /phex/trunk/src/main/java/phex/query/QueryMsgToWriterMonitor.java Gregor |
![]() |
| |