JAVA 2023. 9. 13. 09:13

-update: for connecting usb enabled device with web-browser 

 

https://developer.chrome.com/en/articles/serial/

 

Read from and write to a serial port - Chrome Developers

The Web Serial API bridges the web and the physical world by allowing websites to communicate with serial devices.

developer.chrome.com

The Web Serial API allows websites to communicate with serial devices.

 

'JAVA' 카테고리의 다른 글

java SimpleDateFormat  (0) 2023.12.22
Java/BlueTooth LE device call sequence  (1) 2023.10.08
Java, Digit check from string  (0) 2022.12.06
java 커맨드라인 실행시 한글깨질때 방지법  (0) 2022.10.24
java call by reference  (0) 2020.05.07
posted by cskimair
:
JAVA/eclipse 2023. 2. 15. 18:17

 

 

 

 

-

https://stackoverflow.com/questions/3191693/how-do-i-change-a-java-projects-bin-folder-in-eclipse/3191753#3191753

 

How do I change a Java project's bin folder in Eclipse?

When you have a Java project in Eclipse, how do you change the location where the class files are placed? The bin directory is the default location.

stackoverflow.com

> Right-click on our project --> select properties --> select Java Build Path --> select the Source tab. At the bottom of the tab you should see a field named (Default Output Folder:).

 

How to Add Existing Files to Eclipse Projects

This Tip sounds very basic, but still: I get asked about this about once a week. So it must be something non-obvious in Eclipse then ;-): how to add existing files to an Eclipse project. As with ma…

mcuoneclipse.com

 

How to Add Existing Files to Eclipse Projects

This Tip sounds very basic, but still: I get asked about this about once a week. So it must be something non-obvious in Eclipse then ;-): how to add existing files to an Eclipse project. As with ma…

mcuoneclipse.com

 

How to Add Existing Files to Eclipse Projects

This Tip sounds very basic, but still: I get asked about this about once a week. So it must be something non-obvious in Eclipse then ;-): how to add existing files to an Eclipse project. As with ma…

mcuoneclipse.com

 

How do I change a Java project's bin folder in Eclipse?

When you have a Java project in Eclipse, how do you change the location where the class files are placed? The bin directory is the default location.

stackoverflow.com

 

 

-

https://stackoverflow.com/questions/45440060/want-eclipse-class-files-also-in-other-folder-apart-from-bin

 

Want Eclipse .class files also in other folder apart from bin

I want when Developer save java file in eclipse , And eclipse by default generate it .class file in bin folder,So this .class file is also generate in other folder also. I can not copy /paste that ...

stackoverflow.com

 

 

- eclipse java class file folder change directory

https://www.google.com/search?q=eclipse+java+class+file+folder+change+directory&newwindow=1&client=firefox-b-d&sxsrf=AJOqlzXoXbyAmVk-Do2kRv0E3gubMFh3Zw%3A1675910642320&ei=8l3kY8ScE8r_hwOk9b6gAw&oq=eclipse+java+class+file+folder+change&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAxgCMgUIIRCgATIFCCEQoAEyBQghEKABOgoIABBHENYEELADOgQIIxAnOgUIABCRAjoICAAQgAQQywE6BQgAEIAEOgkIABAWEB4Q8QQ6BggAEBYQHjoFCAAQhgM6CAgAEBYQHhAPOgcIIRCgARAKOggIIRAWEB4QHToLCCEQFhAeEPEEEB06DQghEBYQHhAPEPEEEB06BAghEBVKBAhBGABKBAhGGABQtQhY8ElgqWhoAXABeACAAZQBiAHRGpIBBDAuMjmYAQCgAQHIAQjAAQE&sclient=gws-wiz-serp 

 

🔎 eclipse java class file folder change directory: Google 검색

 

www.google.com

 

posted by cskimair
:
JAVA 2022. 12. 6. 09:16

- Java  , digit check from string

assertThat(StringUtils.isNumeric("123")).isTrue();
assertThat(StringUtils.isNumeric("١٢٣")).isTrue();
assertThat(StringUtils.isNumeric("१२३")).isTrue();
 
assertThat(StringUtils.isNumeric(null)).isFalse();
assertThat(StringUtils.isNumeric("")).isFalse();
assertThat(StringUtils.isNumeric("  ")).isFalse();
assertThat(StringUtils.isNumeric("12 3")).isFalse();
assertThat(StringUtils.isNumeric("ab2c")).isFalse();
assertThat(StringUtils.isNumeric("12.3")).isFalse();
assertThat(StringUtils.isNumeric("-123")).isFalse();

https://www.baeldung.com/java-check-string-number

 

 

 

'JAVA' 카테고리의 다른 글

Java/BlueTooth LE device call sequence  (1) 2023.10.08
Web Serial port  (0) 2023.09.13
java 커맨드라인 실행시 한글깨질때 방지법  (0) 2022.10.24
java call by reference  (0) 2020.05.07
jdk6 version설치하기 (ubuntu 16.04)  (0) 2019.04.01
posted by cskimair
:
JAVA 2022. 10. 24. 15:51

korean character is displayed in wrong char.

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=fromyongsik&logNo=40165764581 

 

자바 java 실행 시 파일인코딩 file.encoding 변경하기

자바에서 기본적으로 설정되어 있는 파일명의 인코딩을 확인해보자. System.out.println("> file.encod...

blog.naver.com

 

- java -Dfile.encoding=utf-8 SRC_1.Test  

이렇게 실행해주면 한글이 깨지지 않고 utf-8로 처리되게 됨.

 

 

 

 

 

 

'JAVA' 카테고리의 다른 글

Java/BlueTooth LE device call sequence  (1) 2023.10.08
Web Serial port  (0) 2023.09.13
Java, Digit check from string  (0) 2022.12.06
java call by reference  (0) 2020.05.07
jdk6 version설치하기 (ubuntu 16.04)  (0) 2019.04.01
posted by cskimair
:
JAVA/android_studio 2022. 10. 12. 08:39

 

- 바인드 서비스 Bound Service

>조금 이해하기 힘듦, not easy to understand than other article than I collected

https://velog.io/@cluelin/%EB%B0%94%EC%9D%B8%EB%93%9C-%EC%84%9C%EB%B9%84%EC%8A%A4-Bound-Service-xxxbdeox

 

바인드 서비스 Bound Service

IPC 프로세스간 통신바인딩 서비스onBind() 콜백 구현.ddd

velog.io

 

posted by cskimair
:
JAVA/android_studio 2022. 10. 11. 18:22

-

https://jizard.tistory.com/246

 

[안드로이드] 예제로 알아보는 바인드된 서비스 (Bound Service)

바인드된 서비스(Bound Service)는 서비스와 다른 안드로이드 컴포넌트들 (Activity, Fragment, Service)간에 서버와 클라이언트같은 관계를 구현할 수 있어 IPC(프로세스간 통신)를 가능하게 한다. 이번에

jizard.tistory.com

 

posted by cskimair
: