<div class="col-md-3 left_col" th:replace="fragments/left :: left">
left ๋ฉ๋ด
</div>
fragments ๋๋ ํ ๋ฆฌ์ left.html ํ์ผ ์์ฑ ํ ๋ค์์ ์ฝ๋ ์ถ๊ฐ
<div class="col-md-3 left_col" th:fragment="left">...</div>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DeadLockTest { | |
| public void method1() { | |
| String name = new Thread().getName(); | |
| synchronized (String.class) { | |
| System.out.println("[" + new Thread().getName() + "] Aquired lock on String.class object in the method1"); | |
| try { Thread.sleep(100); } catch (InterruptedException e) {} | |
| synchronized (Integer.class) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // webApp ์คํ์ผ | |
| String templatePath = "excel/template_delivery.xls"; | |
| System.out.println("ํด๋์ค ๋ก๋ : " + getClass().getClassLoader().getResource(templatePath).toString()); | |
| // spring boot ์คํ์ผ | |
| ClassPathResource classPathResource = new ClassPathResource(templatePath); | |
| System.out.println("ํด๋์ค ํจ์ค ๋ฆฌ์์ค getPath : " + classPathResource.getPath()); | |
| System.out.println("ํด๋์ค ํจ์ค ๋ฆฌ์์ค getURL : " + classPathResource.getURL()); | |
| System.out.println("ํด๋์ค ํจ์ค ๋ฆฌ์์ค toString : " + classPathResource.toString()); |
> ์๋๋ก์ด๋ ์คํ๋์ค ์ค์น (version : 3.1.2)
> ์๋๋ก์ด๋ ์คํ๋์ค ์์ ํ๋ฉด Setup Wizard์์ SDK ์ค์น ๊ฐ๋ฅ ํ๋ค.
> Start a new Android Studio project
- Include Kotlin support ์ฒดํฌ
> kotlin ํ๋ฌ๊ทธ์ธ ์ค์น (์๋๋ก์ด๋ ์คํ๋์ค 3๋ฒ์ ์ดํ๋ถํฐ๋ kotlin ๊ธฐ๋ณธ ํ์ฌ)
> ์ ํ๋ก์ ํธ
> Include Kotlin support ์ฒดํฌ
> IDE ์๋จ์ Run ์คํ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @AnnoClass("nklee") | |
| class AnnoClassImple { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.kyu.app; | |
| import org.jsoup.Connection; | |
| import org.jsoup.Jsoup; | |
| import org.jsoup.nodes.Document; | |
| import org.jsoup.nodes.Element; | |
| import org.jsoup.safety.Cleaner; | |
| import org.jsoup.safety.Whitelist; | |
| import org.jsoup.select.Elements; | |
| import org.junit.Test; |
NewerOlder