Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- StringBuilder sb = new StringBuilder();
- Formatter formatter = new Formatter(sb, Locale.US);
- formatter.format("%-16s ---%-21s--- %-21s %-23s %-25s", "IP", "BLOCKED", "BLOCKED TILL", "ACTIVITY (00:00-24:00)", "COUNTRY");
- System.out.println(sb.toString());
- IP ---BLOCKED --- BLOCKED TILL ACTIVITY (00:00-24:00) COUNTRY
Add Comment
Please, Sign In to add comment