{{theTime}}

Search This Blog

Total Pageviews

How to read File Contents

private StringBuilder readFileContents(File file) {
StringBuilder builder = new StringBuilder() ;
try {
assert file.exists() ;
BufferedReader reader = new BufferedReader( new FileReader(file)) ;
while( reader.readLine() != null) {
builder.append ( reader.readLine()) ;
}
}catch(IOException e){
e.printStackTrace() ;
}
return builder ;
}

No comments:

Setup AWS Application Load Balancer Https

Setting up HTTPS for an AWS Application Load Balancer (ALB) involves configuring an HTTPS listener, deploying an SSL certificate, and defini...