RTEditor/src/main/java/com/onegravity/rteditor/api/RTMediaFactoryImpl.java
protected String getAbsolutePath(RTMediaType mediaType) {
        File mediaPath = new File(mStoragePath.getAbsolutePath(), mediaType.mediaPath());
        if (!mediaPath.exists()) {
            mediaPath.mkdirs();
        }
        return mediaPath.getAbsolutePath();
    }
protected String getAbsolutePath(RTMediaType mediaType) {
        File mediaPath = new File(mStoragePath.getAbsolutePath(), mediaType.mediaPath());
        if (!mediaPath.exists()) {
            mediaPath.mkdirs();
        }
        return mediaPath.getAbsolutePath();
    }
protected String getAbsolutePath ( RTMediaType mediaType ) { File mediaPath = new File ( mStoragePath . getAbsolutePath ( ) , mediaType . mediaPath ( ) ) ; if ( ! mediaPath . exists ( ) ) { mediaPath . mkdirs ( ) ; } return mediaPath . getAbsolutePath ( ) ; }
Returns the absolute file path for a certain RTMediaType.
<p>
The media type specific path as provided by RTMediaType is appended to
the storage path (e.g. <storage area>/images for image files).
Returns the absolute file path for a certain RTMediaType . <p > The media type specific path as provided by RTMediaType is appended to the storage path ( e . g . <storage area > / images for image files ) .