Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static String B64EX = ".b64";

    public static String b64FileName(String fn) {
        String fln = fn.substring(fn.lastIndexOf('/') + 1);
        fln = fln.substring(0, fln.indexOf('.'));
        return fln + B64EX;
    }
}