Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static final String CLOUD_SYSTEM_DIR = "/cloud_system/";

    public static String getCloudThumbPath(String cloudPath) {
        if (cloudPath.startsWith("/")) {
            return CLOUD_SYSTEM_DIR + cloudPath.substring(1);
        } else {
            return CLOUD_SYSTEM_DIR + cloudPath;
        }
    }
}