Start Developer

  • 홈
  • 태그
  • 방명록

java 3

문자열을 바이트단위로 자르기

public class StringByteCut { public static String cutStringByByte(String str, int byteLength, Charset charset) { byte[] bytes = str.getBytes(charset); if (bytes.length

자바 2023.01.10

[TIFF FILE TO PDF] tiff 파일을 pdf로 변환

public String convertTIFFToPDF(String ttfFilePath, String afterPath) throws Exception{ //tif 파일 주소 File tiffFile = new File(ttfFilePath); // pdf로 변환될 주소 , 변환될 파일명도 같이 붙임 // 단 폴더는 존재하지 않으면 에러 발생하니 폴더까지는 미리만들어야함 ex)file.mkdir File pdfFile = new File(afterPath); try { //import com.lowagie.text.pdf... RandomAccessFileOrArray myTiffFile = new RandomAccessFileOrArray(tiffFile.getCanonicalPath()); // F..

자바 2022.11.02

[ArrayList] 리스트를 100개씩 나누기

1. List newTargetList = new ArrayList(); List targetList = new ArrayList(); for (int i = 0; i 0 && (i+1) % 100 == 0) { // 100개일경우 i = 99일떄 (99 + 1) 100이므로 true semplefunction(newTargetList); newTargetList.clear(); } else if(i == targetList.size()-1) { // 100개이하일때 semplefunction(newTargetList); } } 2. List dividedList = new ..

자바 2022.11.01
이전
1
다음
더보기
프로필사진

Start Developer

  • 분류 전체보기 (32)
    • css (1)
    • HTML (0)
    • Javascript (2)
    • 자바 (13)
      • atom (0)
      • 문제해결 (0)
    • ORACLE (1)
    • MSSQL (1)
    • ECLIPSE (1)
    • jenkins (1)
    • API (1)
    • tomcat (1)
    • spring (0)
      • scurity (0)
    • 여행 (0)
    • 코테 (9)

Tag

개발자취업, thread stop, #항해99, byte 단위, list 나누기, TLSv1, thread 활용법, java, TLSv1.1, #개발자취업, 코딩테스트준비, 정규식 #규칙찾기, TIL, API #JSON, 99클럽, #코딩테스트준비, #TIL, 항해99, Decompiler, contentEquals,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바