View Javadoc
1   package org.codehaus.plexus.components.io.attributes.proxy;
2   
3   import org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributes;
4   
5   import javax.annotation.Nullable;
6   
7   public class PlexusIoProxyResourceAttributes
8       implements PlexusIoResourceAttributes
9   
10  
11  {
12      PlexusIoResourceAttributes target;
13  
14      public PlexusIoProxyResourceAttributes( PlexusIoResourceAttributes thisAttr )
15      {
16          this.target = thisAttr;
17      }
18  
19      public boolean isOwnerReadable()
20      {
21          return target.isOwnerReadable();
22      }
23  
24      public int getOctalMode()
25      {
26          return target.getOctalMode();
27      }
28  
29      public String getUserName()
30      {
31          return target.getUserName();
32      }
33  
34      public boolean isGroupReadable()
35      {
36          return target.isGroupReadable();
37      }
38  
39      public boolean isWorldExecutable()
40      {
41          return target.isWorldExecutable();
42      }
43  
44      @Nullable public Integer getGroupId()
45      {
46          return target.getGroupId();
47      }
48  
49      public boolean isGroupWritable()
50      {
51          return target.isGroupWritable();
52      }
53  
54      public Integer getUserId()
55      {
56          return target.getUserId();
57      }
58  
59  /*    public String getOctalModeString()
60      {
61          return target.getOctalModeString();
62      }
63  */
64      public boolean isOwnerWritable()
65      {
66          return target.isOwnerWritable();
67      }
68  
69      public boolean isOwnerExecutable()
70      {
71          return target.isOwnerExecutable();
72      }
73  
74      public boolean isSymbolicLink()
75      {
76          return target.isSymbolicLink();
77      }
78  
79      public boolean isGroupExecutable()
80      {
81          return target.isGroupExecutable();
82      }
83  
84      public boolean isWorldWritable()
85      {
86          return target.isWorldWritable();
87      }
88  
89      @Nullable public String getGroupName()
90      {
91          return target.getGroupName();
92      }
93  
94      public boolean isWorldReadable()
95      {
96          return target.isWorldReadable();
97      }
98  }