Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

public class Main {
    public static String getAltResourcePath(String resourceName, String subdir) {
        int index = resourceName.lastIndexOf('/');

        return resourceName.substring(0, index) + '/' + subdir + resourceName.substring(index);
    }
}