angular get html file content code example
Example 1: js get meta content
//One liner
var meta_content = document.getElementById("meta_hint").getAttribute('content');
Example 2: java get folder content
File file = new File("Path to file");
File[] files = file.listFiles();