/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(final String basePath, final ArchivePath context) { return createInstance(new Class<?>[] { String.class, ArchivePath.class }, new Object[] { basePath, context }); }
/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(String basePath, String context) { return createInstance(new Class<?>[] { String.class, String.class }, new Object[] { basePath, context }); }
/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(ArchivePath basePath, ArchivePath context) { return createInstance(new Class<?>[] { ArchivePath.class, ArchivePath.class }, new Object[] { basePath, context }); }
/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(String basePath, String context) { return createInstance(new Class<?>[] { String.class, String.class }, new Object[] { basePath, context }); }
/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(ArchivePath basePath, String context) { return createInstance(new Class<?>[] { ArchivePath.class, String.class }, new Object[] { basePath, context }); }
/** * Creates a new {@link ArchivePath} with the specified context * * @param context * The context which this path represents. Null or blank represents the root. Relative paths will be * adjusted to absolute form. * @return a new path */ public static ArchivePath create(String context) { return createInstance(new Class<?>[] { String.class }, new Object[] { context }); }
/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(ArchivePath basePath, String context) { return createInstance(new Class<?>[] { ArchivePath.class, String.class }, new Object[] { basePath, context }); }
/** * Creates a new {@link ArchivePath} with the specified context * * @param context * The context which this path represents. Null or blank represents the root. Relative paths will be * adjusted to absolute form. * @return a new path */ public static ArchivePath create(String context) { return createInstance(new Class<?>[] { String.class }, new Object[] { context }); }
/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(final String basePath, final ArchivePath context) { return createInstance(new Class<?>[] { String.class, ArchivePath.class }, new Object[] { basePath, context }); }
/** * Creates a new {@link ArchivePath} using the specified base and specified relative context. * * @param basePath * A absolute path * @param context * A relative path to basePath * @return a new path */ public static ArchivePath create(ArchivePath basePath, ArchivePath context) { return createInstance(new Class<?>[] { ArchivePath.class, ArchivePath.class }, new Object[] { basePath, context }); }