1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.log4j.chainsaw.vfs;
19
20 import java.beans.PropertyDescriptor;
21 import java.beans.SimpleBeanInfo;
22
23
24
25
26
27
28 public class VFSLogFilePatternReceiverBeanInfo extends SimpleBeanInfo {
29
30
31
32 public PropertyDescriptor[] getPropertyDescriptors() {
33 try {
34 return new PropertyDescriptor[] {
35 new PropertyDescriptor("fileURL", VFSLogFilePatternReceiver.class),
36 new PropertyDescriptor(
37 "timestampFormat", VFSLogFilePatternReceiver.class),
38 new PropertyDescriptor("logFormat", VFSLogFilePatternReceiver.class),
39 new PropertyDescriptor("name", VFSLogFilePatternReceiver.class),
40 new PropertyDescriptor("tailing", VFSLogFilePatternReceiver.class),
41 new PropertyDescriptor("autoReconnect", VFSLogFilePatternReceiver.class),
42 new PropertyDescriptor("waitMillis", VFSLogFilePatternReceiver.class),
43 new PropertyDescriptor("appendNonMatches", VFSLogFilePatternReceiver.class),
44 new PropertyDescriptor("customLevelDefinitions", VFSLogFilePatternReceiver.class),
45 new PropertyDescriptor(
46 "filterExpression", VFSLogFilePatternReceiver.class),
47 new PropertyDescriptor(
48 "promptForUserInfo", VFSLogFilePatternReceiver.class),
49 new PropertyDescriptor("group", VFSLogFilePatternReceiver.class),
50 };
51 } catch (Exception e) {
52 }
53
54 return null;
55 }
56 }