Here you can find the source of doesExistsInside(File src, String fileName)
Parameter | Description |
---|---|
src | The src file |
fileName | The name of the to-search file |
public static boolean doesExistsInside(File src, String fileName)
//package com.java2s; //License from project: Open Source License import java.io.File; public class Main { /**//ww w . j a v a2 s. co m * Checks if a file named "fileName" exists inside given src file * * @param src The src file * @param fileName The name of the to-search file * @return The result */ public static boolean doesExistsInside(File src, String fileName) { return new File(src, fileName).exists(); } }