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 ein.jvm.net | |
import ein.core.resource.eLoader | |
import ein.core.value.eJsonObject | |
import java.io.UnsupportedEncodingException | |
import java.util.* | |
import java.util.concurrent.Executors | |
import javax.mail.* | |
import javax.mail.internet.InternetAddress | |
import javax.mail.internet.MimeMessage |
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 entity | |
import ein2a.core.entity.* | |
import ein2a.core.json.eJSON | |
import ein2a.core.log.log | |
import kotlin.reflect.KClass | |
import kotlin.reflect.KProperty | |
// 아래와 같은 필드를 처리함 | |
//{ |
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 chela.spring.core; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.util.Base64; | |
final public class ChCrypto { | |
final static Base64.Encoder encorder = Base64.getEncoder(); | |
final static Base64.Decoder decorder = Base64.getDecoder(); |
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
#import <Foundation/Foundation.h> | |
//Reflection | |
@interface bsReflection : NSObject | |
+(NSString*)stringFromClass:(Class)clazz; //클래스로부터 클래스 이름을 가져온다. | |
+(Class)classFromString:(NSString*)className; //클래스 이름으로부터 클래스를 가져온다. | |
+(Class)classFromObject:(id)object; //객체로부터 클래스를 가져온다. | |
+(NSString*)classNameFromObject:(id)object; //객체로부터 클래스 이름을 가져온다. | |
+(Class)getPropClassOfObject:(id)object key:(NSString*)key; //객체의 프로퍼티의 클래스를 가져온다. | |
+(Class)getPropClassOfClass:(Class)clazz key:(NSString*)key; //클래스의 프로퍼티의 클래스를 가져온다. |
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
#import <Foundation/Foundation.h> | |
#import "bsHttpFile.h" | |
#import "bsError.h" | |
#define HTTP_METHOD_POST @"POST" | |
#define HTTP_METHOD_GET @"GET" | |
#define HTTP_METHOD_DELETE @"DELETE" | |
#define HTTP_METHOD_PUT @"PUT" | |
typedef void (^bsHttpCallback)(NSData * _Nullable data, NSURLResponse * _Nullable response, bsError * _Nullable bsError); |
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
#import "bsHttpFile.h" | |
#import "bsMacro.h" | |
@interface bsHttpFile(){ | |
NSMutableDictionary *_files; | |
} | |
@end | |
@implementation bsHttpFile | |
static NSMutableArray *__bsHttpFile_pool = nil; |
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
#import "bsHttpQueue.h" | |
#import "bsMacro.h" | |
#import "bsStr.h" | |
@interface bsHttpQueue(){ | |
NSString *_url; | |
NSDictionary *_param; | |
NSString *_method; | |
NSUInteger _timeout; | |
} |