Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.text.TextUtils;

public class Main {
    private static String uiBufferPath = null;

    public static String getCachePathByUrl(String url) {
        if (TextUtils.isEmpty(url)) {
            return null;
        }
        return uiBufferPath + url.hashCode();
    }
}