Java outputs classical vertical text

Source: Internet
Author: User

Recently, Baidu is popular with vertical la s, some of which are used for posting and swearing, so I wrote a line to fight back ~~~

1. package org. test;
2.

3. import java. util. Collections;
4. import java. util. HashMap;
5. import java. util. Map;
6.

7 ./***//**
8. * Copyright 2008
9 .*
10. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
11. * use this file before t in compliance with the License. You may be obtain a copy
12. * the License
13 .*
14. * http://www.apache.org/licenses/LICENSE-2.0
15 .*
16. * Unless required by applicable law or agreed to in writing, software
17. * distributed under the License is distributed on an "as is" BASIS,
18. * warranties or conditions of any kind, either express or implied. See
19. * License for the specific language governing permissions and limitations under
20. * the License.
21 .*
22. * @ project loonframework
23. * @ author chenpeng
24. * @ email: ceponline@yahoo.com.cn
25. * @ versions 0.1
26. */27. public class ClassicalityCharacter {
28.

29. final private String _ content;
30.

31. final private int _ style;
32.

33. final private int _ col;
34.

35. final private int _ row;
36.

37. // blank flag 38. final private static char _ blank =;
39.

40. // halfwidth font 41. final private static String _ half = "/"> 1234567890! @ # $ % ^ & * () AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_ =+ \ | [];: ", <.> /? () [] "" ";
42.

43. // fullwidth font 44. final private static char [] _ full = new char [] {1, 2, 3, 4, 5,
45. 6, 7, 8, 9, 0 ,!, @, #, $, %, Success ,︿,&,*,
46. (,), a, B, c, d, e, f, g, h, I, j, k,
47. l, m, n, o, p, q, r, s, t, u, v, w, x,
48. y, z, A, B, C, D, E, F, G, H, I, J, K,
49. L, M, N, O, P, Q, R, S, T, U, V, W, X,
50. Y, Z,-, _, =, +, \, | ,【,],;,:,,
51., <.,,,〈,., > 〉,/,?, Delimiter ︵,︶,︻,︼,︽,︾,
52 .『,』};
53.

54. // style sheet 55. final static private char [] [] _ frameStyle = new char [] [] {
56. {average, minimum, maximum, │, maximum },
57. {values, numbers },
58. {values, numbers },
59. {values, numbers },
60. {values, numbers },
61. {values, numbers,★, Operator },
62. {values, numbers, ●, ●, numbers, numbers, ○ },
63. {values, numbers, ◎, numbers, numbers, ○ },
64. {average, minimum, maximum, │, maximum },
65. {average, minimum, maximum, │, ─ },
66. {average, maximum, minimum, maximum, △, maximum, minimum, maximum },
67. {values, numbers, ≈, numbers, expires, ≈ },
68. {values, numbers },
69. {water, water, wax, water },
70. {values, numbers },
71 .{,,,,,,,,}};
72.

73. // gb2312 font (partial) 74. final private static char [] _ gb2312 = "bao Bei Yu stretched pen Bian the volume test layer is mixed with the cicada, And the shovel is used to describe the treasure farm to taste the Changshou factory, and the ticket is chanted, Chen linting, And said Cheng, Chi, shame, and Chong pet domain. when raising silk cupboard, kitchen, Young Foundation, storage, touch, sore, innovation, hammer, pure words, give Cong shallots, gather together from the cluster, escape the mistake, bring the loan to bear the Bill, give it the courage to give birth to the bullet when the block dang Dao prayer guide stealing lamp Deng enemy di Ding Dian fishing tune stacking dingtalk top ingot order lost Dong frozen calf read gambling plating forging broken satin competing with the team to tons of blunt wins, the amount of the goose, the amount of evil, the bait, the punishment valve, the fans, the food, the visit, the fly, the waste, the fen Fen FENG FENG Yu Feng Fu negative Jie Fu bind the calcium cap catch stalk Gan Gang gang pick put pigeon pavilion chrome to Gong Gou Structure purchase enough Guyu Guan guguang GUI huai Huan HUan Huang lie hui 中 level squeeze a few Ji jijia pod cheek Jia K price Jian jian splash Jian Jiang Xi award speak sauce glue pouring strong Jiao stir hinge Jiao handed in the lower-Order Section jie session tight Jin only Jin jing Jian jiu JU lifting according to saw fear drama xiao xi Jue Jun Kai kai shell course Ken Jing Ku pants block shard wide mine Kuang que feedback burst expanded wide wax lailai Lai LAN lazy abuse fishing Lao taile lelei Lei tears li Lian Liang lianglian Lian Wei Liao Lin Adjacent Scales Ling ling Liu Longyan Ling Lou Lugu Lu Wu repeatedly luyi chaos round Lun on luoluo luochao luoluo Ma code Ma scold? Buy Mai Yu manmanmanmanyi cat anchor riveting trade? magnesium stuffy men manganese dream Mi Mian Myanmar Temple out of Benjamin min Ming Miao MOU Mu Ling sodium Na difficult to scratching the brain annoying inside the preparation of greasy stuffed birds licking tweezers nickel ning screwed up the nets pus and the NOU nou ou puke, the pan Pang throw, the spray Peng, fraud, the floating frequency, the poor Ping, with the evaluation of the puppu spectrum Qi abandon qian Jie Qian quan persuaded magpie to really let Rao disturb around the hot tough recognize Rong soft grui Yi runsa Gill game San umbrella funeral Sao sweep seam killing brake screens Delete flash Shaanxi Shan Yi injury enjoy burning Shao the photo of Shen Shi eclipse real knowledge driving Shi Shou Shu redemption belongs to SHU Shu Shuai Shuang who tax Shun said shuose feeding Song litigation song su sued su although with SUI's sun loss stalagmite reduced the slot of the slot state stalls greedy Tan Tang Tao Yu comment comment tie Hall listen to hydrocarbon copper system head bald figure roll Pull Tuo elliptical so bend Wan stubborn WAN network Wei violation Wei false wei Wen Wu Xi Xixia Xia Xian title Xian xuXu xuxuan Xuan Xun pressure crow duck dumb ya Yan Qi Yang sample yaoshake yao Ye yi Yin Ying fly Ying ying Yu Yong Yu Yuanyuan Yuan Yue Yun Yu yun miscellaneous disaster load temporarily likes stolen dirty chisel jujube responsibility selection ze thief gift Rolling Brake gate fraud Zhai bond felt throw rolling stack battle Zhang rose account expansion Zhao Zhe zhe ge this Zhen Yuan Zheng Zhizhi job Executive Paper throw quality lag minutes final kinds of swollen public slice axis wrinkle day sudden pig zhuxiao

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.