上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 46 下一页
  2016年6月2日
摘要: The Java concurrency API provides a synchronizing utility that allows the synchronization of two or more threads in a determined point. It's the Cycli 阅读全文
posted @ 2016-06-02 13:26 huey2672 阅读(339) 评论(0) 推荐(0) 编辑
  2016年6月1日
摘要: The Java concurrency API provides a class that allows one or more threads to wait until a set of operations are made. It's the CountDownLatch class. T 阅读全文
posted @ 2016-06-01 21:28 huey2672 阅读(247) 评论(0) 推荐(0) 编辑
  2016年5月26日
摘要: 验证 简单验证 提取 替换 简单替换 使用 Pattern 对象,方便反复使用 切分 简单切分 使用 Pattern 对象,方便反复使用 阅读全文
posted @ 2016-05-26 14:46 huey2672 阅读(258) 评论(0) 推荐(0) 编辑
  2016年5月23日
摘要: Handling dates on Java platform is complex business. Jackson tries not to make it any harder than it has to be. Here's how. All time objects that have 阅读全文
posted @ 2016-05-23 13:41 huey2672 阅读(629) 评论(0) 推荐(0) 编辑
摘要: JSON Three Ways Jackson offers three alternative methods (one with two variants) for processing JSON: Streaming API (aka "Incremental parsing/generati 阅读全文
posted @ 2016-05-23 12:16 huey2672 阅读(335) 评论(0) 推荐(0) 编辑
  2016年5月22日
摘要: org.xml.sax.helpers.DefaultHandler 实现了 org.xml.sax.EntityResolver、org.xml.sax.DTDHandler、org.xml.sax.ContentHandler 和 org.xml.sax.ErrorHandler,并提供了默认的 阅读全文
posted @ 2016-05-22 19:23 huey2672 阅读(548) 评论(0) 推荐(0) 编辑
  2016年5月21日
摘要: SAX 是一种事件驱动的 XML 数据处理模型。对于 DOM 模型,解析 XML 文档时,需要将所有内容载入内容。相比 DOM 模型,SAX 模型更为高效,它一边扫描一边解析 XML 文档。但与 DOM 模型相比,SAX 的操作更为复杂。 简单示例: 阅读全文
posted @ 2016-05-21 17:12 huey2672 阅读(261) 评论(0) 推荐(0) 编辑
  2016年5月20日
摘要: wsimport 命令是用来编译 wsdl 生成JAX-WS 规范的 Java 类的工具。 命令格式 wsimport [ options ] wsdl 命令参数 -s directory 指定源文件所在的目录。 -d directory 在指定的目录生成 Java 类。 -p name 指定生成的 阅读全文
posted @ 2016-05-20 16:55 huey2672 阅读(318) 评论(0) 推荐(0) 编辑
摘要: The annotation XmlSchemaType defines a mapping between an arbitrary Java type and a simple schema built-in type. Most of the time the default mapping 阅读全文
posted @ 2016-05-20 15:54 huey2672 阅读(325) 评论(0) 推荐(0) 编辑
摘要: For some Java container types JAXB has no built-in mapping to an XML structure. Also, you may want to represent Java types in a way that is entirely d 阅读全文
posted @ 2016-05-20 15:48 huey2672 阅读(328) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 46 下一页