Class: Java::ComPff::PSTFile

Inherits:
Object
  • Object
show all
Defined in:
lib/pst/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ PSTFile

Returns a new instance of PSTFile.



8
9
10
11
# File 'lib/pst/base.rb', line 8

def initialize(name)
  super(name)
  @filename = name
end

Instance Attribute Details

#collectionObject

Returns the value of attribute collection.



4
5
6
# File 'lib/pst/base.rb', line 4

def collection
  @collection
end

#filenameObject

Returns the value of attribute filename.



5
6
7
# File 'lib/pst/base.rb', line 5

def filename
  @filename
end

Instance Method Details

#nameObject



13
14
15
# File 'lib/pst/base.rb', line 13

def name
  self.getMessageStore.getDisplayName
end

#rootObject



17
18
19
20
21
# File 'lib/pst/base.rb', line 17

def root
  f = self.getRootFolder
  f.file = self
  f
end