1
2
3
4
5
6
7
8
9
10
11 package psiprobe.tools.logging.jdk;
12
13 import java.io.File;
14
15 import psiprobe.tools.Instruments;
16
17
18
19
20 public class JuliHandlerAccessor extends Jdk14HandlerAccessor {
21
22 @Override
23 public File getFile() {
24 String dir = (String) Instruments.getField(getTarget(), "directory");
25 String prefix = (String) Instruments.getField(getTarget(), "prefix");
26 String suffix = (String) Instruments.getField(getTarget(), "suffix");
27 String date = (String) Instruments.getField(getTarget(), "date");
28 return dir != null && prefix != null && suffix != null && date != null
29 ? new File(dir, prefix + date + suffix)
30 : getStdoutFile();
31 }
32
33 }