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 * BeanInfo class for the meta-data of the VFSLogFilePatternReceiver.
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(
42 "filterExpression", VFSLogFilePatternReceiver.class),
43 new PropertyDescriptor(
44 "promptForUserInfo", VFSLogFilePatternReceiver.class),
45 };
46 } catch (Exception e) {
47 }
48
49 return null;
50 }
51 }