Class: Xberg::FormatMetadataPst

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
FormatMetadata
Defined in:
lib/xberg/native.rb

Overview

Metadata extracted from an Outlook PST archive.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject (readonly)

rubocop:disable Lint/UselessMethodDefinition



3589
3590
3591
# File 'lib/xberg/native.rb', line 3589

def value
  @value
end

Class Method Details

.from_hash(hash) ⇒ Object



3642
3643
3644
# File 'lib/xberg/native.rb', line 3642

def self.from_hash(hash)
  new(value: hash[:_0] || hash["_0"])
end

Instance Method Details

#archive?Boolean

Returns:

  • (Boolean)


3608
# File 'lib/xberg/native.rb', line 3608

def archive? = false

#audio?Boolean

Returns:

  • (Boolean)


3636
# File 'lib/xberg/native.rb', line 3636

def audio? = false

#bibtex?Boolean

Returns:

  • (Boolean)


3622
# File 'lib/xberg/native.rb', line 3622

def bibtex? = false

#citation?Boolean

Returns:

  • (Boolean)


3624
# File 'lib/xberg/native.rb', line 3624

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


3638
3639
3640
# File 'lib/xberg/native.rb', line 3638

def code? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#csv?Boolean

Returns:

  • (Boolean)


3620
# File 'lib/xberg/native.rb', line 3620

def csv? = false

#dbf?Boolean

Returns:

  • (Boolean)


3628
# File 'lib/xberg/native.rb', line 3628

def dbf? = false

#docx?Boolean

Returns:

  • (Boolean)


3600
# File 'lib/xberg/native.rb', line 3600

def docx? = false

#email?Boolean

Returns:

  • (Boolean)


3604
# File 'lib/xberg/native.rb', line 3604

def email? = false

#epub?Boolean

Returns:

  • (Boolean)


3632
# File 'lib/xberg/native.rb', line 3632

def epub? = false

#excel?Boolean

Returns:

  • (Boolean)


3602
# File 'lib/xberg/native.rb', line 3602

def excel? = false

#fiction_book?Boolean

Returns:

  • (Boolean)


3626
# File 'lib/xberg/native.rb', line 3626

def fiction_book? = false

#html?Boolean

Returns:

  • (Boolean)


3616
# File 'lib/xberg/native.rb', line 3616

def html? = false

#image?Boolean

Returns:

  • (Boolean)


3610
# File 'lib/xberg/native.rb', line 3610

def image? = false

#jats?Boolean

Returns:

  • (Boolean)


3630
# File 'lib/xberg/native.rb', line 3630

def jats? = false

#ocr?Boolean

Returns:

  • (Boolean)


3618
# File 'lib/xberg/native.rb', line 3618

def ocr? = false

#pdf?Boolean

Returns:

  • (Boolean)


3598
# File 'lib/xberg/native.rb', line 3598

def pdf? = false

#pptx?Boolean

Returns:

  • (Boolean)


3606
# File 'lib/xberg/native.rb', line 3606

def pptx? = false

#pst?Boolean

Returns:

  • (Boolean)


3634
# File 'lib/xberg/native.rb', line 3634

def pst? = true

#text?Boolean

Returns:

  • (Boolean)


3614
# File 'lib/xberg/native.rb', line 3614

def text? = false

#xml?Boolean

Returns:

  • (Boolean)


3612
# File 'lib/xberg/native.rb', line 3612

def xml? = false