Code example for AssetManager

Methods: list

0
 
    @Override 
    public boolean exists() { 
 
        try { 
            assets.list(storagesConfigFileName);
            return true; 
        } catch (IOException e) {
            logger.error("unable to read config from app assets", e);
            return false; 
        } 
 
    } 
}