class UCF::MetaInf

This is a subclass of ManagedDirectory to represent the META-INF directory in a basic UCF Document.

Constants

CONTAINER_SCHEMA
MANIFEST_SCHEMA
SCHEMA_DIR

Public Class Methods

new → MetaInf click to toggle source

Create a standard META-INF ManagedDirectory.

Calls superclass method
   # File lib/ucf/meta-inf.rb
53 def initialize
54   super("META-INF", :required => false, :entries =>
55     [
56       File.new("container.xml", CONTAINER_SCHEMA),
57       File.new("manifest.xml", MANIFEST_SCHEMA),
58       File.new("metadata.xml"),
59       File.new("signatures.xml"),
60       File.new("encryption.xml"),
61       File.new("rights.xml")
62     ]
63   )
64 end