public void checkAndMakeParentDirecotry(String fullName) {
        int index = fullName.lastIndexOf(PATH_SEPERATOR);
        if (index > 0) {
            String path = fullName.substring(0, index);
            File file = new File(path);
            if (!file.exists()) {
                file.mkdirs();
            }
        }
    }
Base object of file persistence.

@author code4crafter@gmail.com <br>
@since 0.2.0
webmagic-core/src/main/java/us/codecraft/webmagic/utils/FilePersistentBase.java