Class SubsystemExporter

  • All Implemented Interfaces:
    Exporter

    public class SubsystemExporter
    extends java.lang.Object
    implements Exporter
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map.Entry<java.lang.String,​Resource> export​(java.lang.String type, Project project, java.util.Map<java.lang.String,​java.lang.String> options)  
      private java.util.List<java.io.File> getBundles​(java.util.Collection<Container> containers, Processor reporter)  
      private static java.util.Map<java.lang.String,​java.lang.String> getDefaultsMap()  
      private java.util.Collection<Container> getRequiredBundles​(Project project)  
      java.lang.String[] getTypes()  
      private void headers​(java.util.jar.Attributes mainAttributes, Project project)  
      private void set​(java.util.jar.Attributes mainAttributes, java.lang.String key, MultiMap<java.lang.String,​Attrs> multiMap)  
      private void set​(java.util.jar.Attributes mainAttributes, java.lang.String key, java.lang.String... values)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ARCHIVE_CONTENT_TYPE

        private static final java.lang.String ARCHIVE_CONTENT_TYPE
        See Also:
        Constant Field Values
      • CONSTANT_MANIFEST_VERSION

        private static final java.lang.String CONSTANT_MANIFEST_VERSION
        See Also:
        Constant Field Values
    • Constructor Detail

      • SubsystemExporter

        public SubsystemExporter()
    • Method Detail

      • getDefaultsMap

        private static final java.util.Map<java.lang.String,​java.lang.String> getDefaultsMap()
      • getTypes

        public java.lang.String[] getTypes()
        Specified by:
        getTypes in interface Exporter
      • export

        public java.util.Map.Entry<java.lang.String,​Resource> export​(java.lang.String type,
                                                                           Project project,
                                                                           java.util.Map<java.lang.String,​java.lang.String> options)
                                                                    throws java.lang.Exception
        Specified by:
        export in interface Exporter
        Throws:
        java.lang.Exception
      • set

        private void set​(java.util.jar.Attributes mainAttributes,
                         java.lang.String key,
                         MultiMap<java.lang.String,​Attrs> multiMap)
      • getRequiredBundles

        private java.util.Collection<Container> getRequiredBundles​(Project project)
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getBundles

        private java.util.List<java.io.File> getBundles​(java.util.Collection<Container> containers,
                                                        Processor reporter)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • headers

        private void headers​(java.util.jar.Attributes mainAttributes,
                             Project project)
      • set

        private void set​(java.util.jar.Attributes mainAttributes,
                         java.lang.String key,
                         java.lang.String... values)