Class JarSource

  • All Implemented Interfaces:
    ConfigSource

    @Deprecated(forRemoval=true,
                since="7")
    public class JarSource
    extends Object
    implements ConfigSource
    Deprecated, for removal: This API element is subject to removal in a future version.
    Will be removed in Vespa 8. Only for internal use.
    Source specifying config as a jar file entry
    Author:
    Vegard Havdal
    • Constructor Detail

      • JarSource

        public JarSource​(JarFile jarFile,
                         String path)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a new jar source
        Parameters:
        jarFile - the jar file to use as a source
        path - the path within the jar file, or null to use the default config/
    • Method Detail

      • getJarFile

        public JarFile getJarFile()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getPath

        public String getPath()
        Deprecated, for removal: This API element is subject to removal in a future version.