Java Jar Manifest getManifestFileLocation(String moduleDir)

Here you can find the source of getManifestFileLocation(String moduleDir)

Description

get Manifest File Location

License

Apache License

Declaration

protected static String getManifestFileLocation(String moduleDir) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.File;

public class Main {
    public static final String META_INF_DIR_NAME = "META-INF";
    public static final String MANIFEST_FILE_NAME = "MANIFEST.MF";

    protected static String getManifestFileLocation(String moduleDir) {
        String manifestLocation = new StringBuilder(moduleDir)
                .append(File.separator).append(META_INF_DIR_NAME)
                .append(File.separator).append(MANIFEST_FILE_NAME)
                .toString();/*from  w  ww  .  j  a v a2s .c  o m*/
        return manifestLocation;
    }
}

Related

  1. getManifestAttribute(InputStream in, String attr)
  2. getManifestAttribute(Manifest m)
  3. getManifestAttribute(String jarUrl, String attribute)
  4. getManifestAttributes(File jarFile)
  5. getManifestEntryValue(IResource manifest, String entryKey)
  6. getManifestHeaders(File aJarFile)
  7. getManifestHeaders(Manifest manifest)
  8. getManifestHeaderValues(final Manifest manifest, final String headerName)
  9. getManifestPath(String moduleDir)