001package net.gdface.service.sdk; 002 003import java.io.IOException; 004import java.io.InputStreamReader; 005 006import com.google.common.io.LineReader; 007 008/** 009 * 文本LOGO输出 010 * @author guyadong 011 * 012 */ 013public class Logo { 014 015 /** 016 * 显示文本LOGO 017 */ 018 public static final void textLogo(){ 019 try(InputStreamReader reader = new InputStreamReader(Logo.class.getResourceAsStream("/logotext.txt"))) { 020 LineReader lineReader = new LineReader(reader); 021 String line ; 022 while(null != (line = lineReader.readLine())){ 023 System.out.println(line); 024 } 025 } catch (IOException e) { 026 throw new RuntimeException(e); 027 } 028 } 029 030}