BrightSide Workbench Full Report + Source Code
org.turro.elephant.impl.context.vc.FileProperties Class Reference
Collaboration diagram for org.turro.elephant.impl.context.vc.FileProperties:

Public Member Functions

 FileProperties (File file)
 
String getFullName ()
 
String getName ()
 
String getExtension ()
 
String getLang ()
 
String getAuthor ()
 
String getVersion ()
 
Date getCreation ()
 
Date getModification ()
 
boolean isLastEntry ()
 
void setLastEntry (boolean lastEntry)
 
boolean isRenderedVersion ()
 
boolean isWiki ()
 

Static Public Attributes

static final String VALID_EXT_REGEXP = "(jsp|html|htm|txt)"
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file FileProperties.java.

Constructor & Destructor Documentation

◆ FileProperties()

org.turro.elephant.impl.context.vc.FileProperties.FileProperties ( File  file)

Creates a new instance of FileProperties

Definition at line 39 of file FileProperties.java.

39  {
40  this.file = file;
41  createFields();
42  }

Member Function Documentation

◆ getAuthor()

String org.turro.elephant.impl.context.vc.FileProperties.getAuthor ( )

Definition at line 98 of file FileProperties.java.

98  {
99  return author;
100  }
Here is the caller graph for this function:

◆ getCreation()

Date org.turro.elephant.impl.context.vc.FileProperties.getCreation ( )

Definition at line 106 of file FileProperties.java.

106  {
107  return creation;
108  }

◆ getExtension()

String org.turro.elephant.impl.context.vc.FileProperties.getExtension ( )

Definition at line 90 of file FileProperties.java.

90  {
91  return extension;
92  }
Here is the caller graph for this function:

◆ getFullName()

String org.turro.elephant.impl.context.vc.FileProperties.getFullName ( )

Definition at line 82 of file FileProperties.java.

82  {
83  return fullName;
84  }
Here is the caller graph for this function:

◆ getLang()

String org.turro.elephant.impl.context.vc.FileProperties.getLang ( )

Definition at line 94 of file FileProperties.java.

94  {
95  return lang;
96  }
Here is the caller graph for this function:

◆ getModification()

Date org.turro.elephant.impl.context.vc.FileProperties.getModification ( )

Definition at line 110 of file FileProperties.java.

110  {
111  return modification;
112  }
Here is the caller graph for this function:

◆ getName()

String org.turro.elephant.impl.context.vc.FileProperties.getName ( )

Definition at line 86 of file FileProperties.java.

86  {
87  return name;
88  }
Here is the caller graph for this function:

◆ getVersion()

String org.turro.elephant.impl.context.vc.FileProperties.getVersion ( )

Definition at line 102 of file FileProperties.java.

102  {
103  return version;
104  }
Here is the caller graph for this function:

◆ isLastEntry()

boolean org.turro.elephant.impl.context.vc.FileProperties.isLastEntry ( )

Definition at line 114 of file FileProperties.java.

114  {
115  return lastEntry;
116  }
Here is the caller graph for this function:

◆ isRenderedVersion()

boolean org.turro.elephant.impl.context.vc.FileProperties.isRenderedVersion ( )

Definition at line 122 of file FileProperties.java.

122  {
123  return extension.matches(VALID_EXT_REGEXP);
124  }

◆ isWiki()

boolean org.turro.elephant.impl.context.vc.FileProperties.isWiki ( )

Definition at line 126 of file FileProperties.java.

126  {
127  return "wiki".equals(extension);
128  }
Here is the caller graph for this function:

◆ setLastEntry()

void org.turro.elephant.impl.context.vc.FileProperties.setLastEntry ( boolean  lastEntry)

Definition at line 118 of file FileProperties.java.

118  {
119  this.lastEntry = lastEntry;
120  }

Member Data Documentation

◆ VALID_EXT_REGEXP

final String org.turro.elephant.impl.context.vc.FileProperties.VALID_EXT_REGEXP = "(jsp|html|htm|txt)"
static

Definition at line 30 of file FileProperties.java.


The documentation for this class was generated from the following file: