1. ######################
  2. ### Query Language ###
  3. ######################
  4.  
  5. ## define query language constants / function names
  6.  
  7. hibernate.query.substitutions yes 'Y', no 'N'
  8.  
  9. ## select the classic query parser
  10.  
  11. #hibernate.query.factory_class org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory
  12.  
  13. #################
  14. ### Platforms ###
  15. #################
  16.  
  17. ## JNDI Datasource
  18.  
  19. #hibernate.connection.datasource jdbc/test
  20. #hibernate.connection.username db2
  21. #hibernate.connection.password db2
  22.  
  23. ## HypersonicSQL
  24.  
  25. hibernate.dialect org.hibernate.dialect.HSQLDialect
  26. hibernate.connection.driver_class org.hsqldb.jdbcDriver
  27. hibernate.connection.username sa
  28. hibernate.connection.password
  29. hibernate.connection.url jdbc:hsqldb:./build/db/hsqldb/hibernate
  30. #hibernate.connection.url jdbc:hsqldb:hsql://localhost
  31. #hibernate.connection.url jdbc:hsqldb:test
  32.  
  33. ## H2 (www.h2database.com)
  34. #hibernate.dialect org.hibernate.dialect.H2Dialect
  35. #hibernate.connection.driver_class org.h2.Driver
  36. #hibernate.connection.username sa
  37. #hibernate.connection.password
  38. #hibernate.connection.url jdbc:h2:mem:./build/db/h2/hibernate
  39. #hibernate.connection.url jdbc:h2:testdb/h2test
  40. #hibernate.connection.url jdbc:h2:mem:imdb1
  41. #hibernate.connection.url jdbc:h2:tcp://dbserv:8084/sample;
  42. #hibernate.connection.url jdbc:h2:ssl://secureserv:8085/sample;
  43. #hibernate.connection.url jdbc:h2:ssl://secureserv/testdb;cipher=AES
  44.  
  45. ## MySQL
  46.  
  47. #hibernate.dialect org.hibernate.dialect.MySQLDialect
  48. #hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
  49. #hibernate.dialect org.hibernate.dialect.MySQLMyISAMDialect
  50. #hibernate.connection.driver_class com.mysql.jdbc.Driver
  51. #hibernate.connection.url jdbc:mysql:///test
  52. #hibernate.connection.username gavin
  53. #hibernate.connection.password
  54.  
  55. ## Oracle
  56.  
  57. #hibernate.dialect org.hibernate.dialect.Oracle8iDialect
  58. #hibernate.dialect org.hibernate.dialect.Oracle9iDialect
  59. #hibernate.dialect org.hibernate.dialect.Oracle10gDialect
  60. #hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
  61. #hibernate.connection.username ora
  62. #hibernate.connection.password ora
  63. #hibernate.connection.url jdbc:oracle:thin:@localhost:1521:orcl
  64. #hibernate.connection.url jdbc:oracle:thin:@localhost:1522:XE
  65.  
  66. ## PostgreSQL
  67.  
  68. #hibernate.dialect org.hibernate.dialect.PostgreSQLDialect
  69. #hibernate.connection.driver_class org.postgresql.Driver
  70. #hibernate.connection.url jdbc:postgresql:template1
  71. #hibernate.connection.username pg
  72. #hibernate.connection.password
  73.  
  74. ## DB2
  75.  
  76. #hibernate.dialect org.hibernate.dialect.DB2Dialect
  77. #hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver
  78. #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
  79. #hibernate.connection.url jdbc:db2://localhost:50000/somename
  80. #hibernate.connection.url jdbc:db2:somename
  81. #hibernate.connection.username db2
  82. #hibernate.connection.password db2
  83.  
  84. ## TimesTen
  85.  
  86. #hibernate.dialect org.hibernate.dialect.TimesTenDialect
  87. #hibernate.connection.driver_class com.timesten.jdbc.TimesTenDriver
  88. #hibernate.connection.url jdbc:timesten:direct:test
  89. #hibernate.connection.username
  90. #hibernate.connection.password
  91.  
  92. ## DB2/400
  93.  
  94. #hibernate.dialect org.hibernate.dialect.DB2400Dialect
  95. #hibernate.connection.username user
  96. #hibernate.connection.password password
  97.  
  98. ## Native driver
  99. #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
  100. #hibernate.connection.url jdbc:db2://systemname
  101.  
  102. ## Toolbox driver
  103. #hibernate.connection.driver_class com.ibm.as400.access.AS400JDBCDriver
  104. #hibernate.connection.url jdbc:as400://systemname
  105.  
  106. ## Derby (not supported!)
  107.  
  108. #hibernate.dialect org.hibernate.dialect.DerbyDialect
  109. #hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
  110. #hibernate.connection.username
  111. #hibernate.connection.password
  112. #hibernate.connection.url jdbc:derby:build/db/derby/hibernate;create=true
  113.  
  114. ## Sybase
  115.  
  116. #hibernate.dialect org.hibernate.dialect.SybaseDialect
  117. #hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver
  118. #hibernate.connection.username sa
  119. #hibernate.connection.password sasasa
  120. #hibernate.connection.url jdbc:sybase:Tds:co3061835-a:5000/tempdb
  121.  
  122. ## Mckoi SQL
  123.  
  124. #hibernate.dialect org.hibernate.dialect.MckoiDialect
  125. #hibernate.connection.driver_class com.mckoi.JDBCDriver
  126. #hibernate.connection.url jdbc:mckoi:///
  127. #hibernate.connection.url jdbc:mckoi:local://C:/mckoi1.0.3/db.conf
  128. #hibernate.connection.username admin
  129. #hibernate.connection.password nimda
  130.  
  131. ## SAP DB
  132.  
  133. #hibernate.dialect org.hibernate.dialect.SAPDBDialect
  134. #hibernate.connection.driver_class com.sap.dbtech.jdbc.DriverSapDB
  135. #hibernate.connection.url jdbc:sapdb://localhost/TST
  136. #hibernate.connection.username TEST
  137. #hibernate.connection.password TEST
  138. #hibernate.query.substitutions yes 'Y', no 'N'
  139.  
  140. ## MS SQL Server
  141.  
  142. #hibernate.dialect org.hibernate.dialect.SQLServerDialect
  143. #hibernate.connection.username sa
  144. #hibernate.connection.password sa
  145.  
  146. ## JSQL Driver
  147. #hibernate.connection.driver_class com.jnetdirect.jsql.JSQLDriver
  148. #hibernate.connection.url jdbc:JSQLConnect://1E1/test
  149.  
  150. ## JTURBO Driver
  151. #hibernate.connection.driver_class com.newatlanta.jturbo.driver.Driver
  152. #hibernate.connection.url jdbc:JTurbo://1E1:1433/test
  153.  
  154. ## WebLogic Driver
  155. #hibernate.connection.driver_class weblogic.jdbc.mssqlserver4.Driver
  156. #hibernate.connection.url jdbc:weblogic:mssqlserver4:1E1:1433
  157.  
  158. ## Microsoft Driver (not recommended!)
  159. #hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver
  160. #hibernate.connection.url jdbc:microsoft:sqlserver://1E1;DatabaseName=test;SelectMethod=cursor
  161.  
  162. ## The New Microsoft Driver
  163. #hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver
  164. #hibernate.connection.url jdbc:sqlserver://localhost
  165.  
  166. ## jTDS (since version 0.9)
  167. #hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
  168. #hibernate.connection.url jdbc:jtds:sqlserver://1E1/test
  169.  
  170. ## Interbase
  171.  
  172. #hibernate.dialect org.hibernate.dialect.InterbaseDialect
  173. #hibernate.connection.username sysdba
  174. #hibernate.connection.password masterkey
  175.  
  176. ## DO NOT specify hibernate.connection.sqlDialect
  177.  
  178. ## InterClient
  179.  
  180. #hibernate.connection.driver_class interbase.interclient.Driver
  181. #hibernate.connection.url jdbc:interbase://localhost:3060/C:/firebird/test.gdb
  182.  
  183. ## Pure Java
  184.  
  185. #hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver
  186. #hibernate.connection.url jdbc:firebirdsql:localhost/3050:/firebird/test.gdb
  187.  
  188. ## Pointbase
  189.  
  190. #hibernate.dialect org.hibernate.dialect.PointbaseDialect
  191. #hibernate.connection.driver_class com.pointbase.jdbc.jdbcUniversalDriver
  192. #hibernate.connection.url jdbc:pointbase:embedded:sample
  193. #hibernate.connection.username PBPUBLIC
  194. #hibernate.connection.password PBPUBLIC
  195.  
  196. ## Ingres
  197.  
  198. ## older versions (before Ingress 2006)
  199.  
  200. #hibernate.dialect org.hibernate.dialect.IngresDialect
  201. #hibernate.connection.driver_class ca.edbc.jdbc.EdbcDriver
  202. #hibernate.connection.url jdbc:edbc://localhost:II7/database
  203. #hibernate.connection.username user
  204. #hibernate.connection.password password
  205.  
  206. ## Ingres 2006 or later
  207.  
  208. #hibernate.dialect org.hibernate.dialect.IngresDialect
  209. #hibernate.connection.driver_class com.ingres.jdbc.IngresDriver
  210. #hibernate.connection.url jdbc:ingres://localhost:II7/database;CURSOR=READONLY;auto=multi
  211. #hibernate.connection.username user
  212. #hibernate.connection.password password
  213.  
  214. ## Mimer SQL
  215.  
  216. #hibernate.dialect org.hibernate.dialect.MimerSQLDialect
  217. #hibernate.connection.driver_class com.mimer.jdbc.Driver
  218. #hibernate.connection.url jdbc:mimer:multi1
  219. #hibernate.connection.username hibernate
  220. #hibernate.connection.password hibernate
  221.  
  222. ## InterSystems Cache
  223.  
  224. #hibernate.dialect org.hibernate.dialect.Cache71Dialect
  225. #hibernate.connection.driver_class com.intersys.jdbc.CacheDriver
  226. #hibernate.connection.username _SYSTEM
  227. #hibernate.connection.password SYS
  228. #hibernate.connection.url jdbc:Cache://127.0.0.1:1972/HIBERNATE
  229.  
  230. #################################
  231. ### Hibernate Connection Pool ###
  232. #################################
  233.  
  234. hibernate.connection.pool_size 1
  235.  
  236. ###########################
  237. ### C3P0 Connection Pool###
  238. ###########################
  239.  
  240. #hibernate.c3p0.max_size 2
  241. #hibernate.c3p0.min_size 2
  242. #hibernate.c3p0.timeout 5000
  243. #hibernate.c3p0.max_statements 100
  244. #hibernate.c3p0.idle_test_period 3000
  245. #hibernate.c3p0.acquire_increment 2
  246. #hibernate.c3p0.validate false
  247.  
  248. ##############################
  249. ### Proxool Connection Pool###
  250. ##############################
  251.  
  252. ## Properties for external configuration of Proxool
  253.  
  254. hibernate.proxool.pool_alias pool1
  255.  
  256. ## Only need one of the following
  257.  
  258. #hibernate.proxool.existing_pool true
  259. #hibernate.proxool.xml proxool.xml
  260. #hibernate.proxool.properties proxool.properties
  261.  
  262. #################################
  263. ### Plugin ConnectionProvider ###
  264. #################################
  265.  
  266. ## use a custom ConnectionProvider (if not set, Hibernate will choose a built-in ConnectionProvider using hueristics)
  267.  
  268. #hibernate.connection.provider_class org.hibernate.connection.DriverManagerConnectionProvider
  269. #hibernate.connection.provider_class org.hibernate.connection.DatasourceConnectionProvider
  270. #hibernate.connection.provider_class org.hibernate.connection.C3P0ConnectionProvider
  271. #hibernate.connection.provider_class org.hibernate.connection.ProxoolConnectionProvider
  272.  
  273. #######################
  274. ### Transaction API ###
  275. #######################
  276.  
  277. ## Enable automatic flush during the JTA beforeCompletion() callback
  278. ## (This setting is relevant with or without the Transaction API)
  279.  
  280. #hibernate.transaction.flush_before_completion
  281.  
  282. ## Enable automatic session close at the end of transaction
  283. ## (This setting is relevant with or without the Transaction API)
  284.  
  285. #hibernate.transaction.auto_close_session
  286.  
  287. ## the Transaction API abstracts application code from the underlying JTA or JDBC transactions
  288.  
  289. #hibernate.transaction.factory_class org.hibernate.transaction.JTATransactionFactory
  290. #hibernate.transaction.factory_class org.hibernate.transaction.JDBCTransactionFactory
  291.  
  292. ## to use JTATransactionFactory, Hibernate must be able to locate the UserTransaction in JNDI
  293. ## default is java:comp/UserTransaction
  294. ## you do NOT need this setting if you specify hibernate.transaction.manager_lookup_class
  295.  
  296. #jta.UserTransaction jta/usertransaction
  297. #jta.UserTransaction javax.transaction.UserTransaction
  298. #jta.UserTransaction UserTransaction
  299.  
  300. ## to use the second-level cache with JTA, Hibernate must be able to obtain the JTA TransactionManager
  301.  
  302. #hibernate.transaction.manager_lookup_class org.hibernate.transaction.JBossTransactionManagerLookup
  303. #hibernate.transaction.manager_lookup_class org.hibernate.transaction.WeblogicTransactionManagerLookup
  304. #hibernate.transaction.manager_lookup_class org.hibernate.transaction.WebSphereTransactionManagerLookup
  305. #hibernate.transaction.manager_lookup_class org.hibernate.transaction.OrionTransactionManagerLookup
  306. #hibernate.transaction.manager_lookup_class org.hibernate.transaction.ResinTransactionManagerLookup
  307.  
  308. ##############################
  309. ### Miscellaneous Settings ###
  310. ##############################
  311.  
  312. ## print all generated SQL to the console
  313.  
  314. #hibernate.show_sql true
  315.  
  316. ## format SQL in log and console
  317.  
  318. hibernate.format_sql true
  319.  
  320. ## add comments to the generated SQL
  321.  
  322. #hibernate.use_sql_comments true
  323.  
  324. ## generate statistics
  325.  
  326. #hibernate.generate_statistics true
  327.  
  328. ## auto schema export
  329.  
  330. #hibernate.hbm2ddl.auto create-drop
  331. #hibernate.hbm2ddl.auto create
  332. #hibernate.hbm2ddl.auto update
  333. #hibernate.hbm2ddl.auto validate
  334.  
  335. ## specify a default schema and catalog for unqualified tablenames
  336.  
  337. #hibernate.default_schema test
  338. #hibernate.default_catalog test
  339.  
  340. ## enable ordering of SQL UPDATEs by primary key
  341.  
  342. #hibernate.order_updates true
  343.  
  344. ## set the maximum depth of the outer join fetch tree
  345.  
  346. hibernate.max_fetch_depth 1
  347.  
  348. ## set the default batch size for batch fetching
  349.  
  350. #hibernate.default_batch_fetch_size 8
  351.  
  352. ## rollback generated identifier values of deleted entities to default values
  353.  
  354. #hibernate.use_identifer_rollback true
  355.  
  356. ## enable bytecode reflection optimizer (disabled by default)
  357.  
  358. #hibernate.bytecode.use_reflection_optimizer true
  359.  
  360. #####################
  361. ### JDBC Settings ###
  362. #####################
  363.  
  364. ## specify a JDBC isolation level
  365.  
  366. #hibernate.connection.isolation 4
  367.  
  368. ## enable JDBC autocommit (not recommended!)
  369.  
  370. #hibernate.connection.autocommit true
  371.  
  372. ## set the JDBC fetch size
  373.  
  374. #hibernate.jdbc.fetch_size 25
  375.  
  376. ## set the maximum JDBC 2 batch size (a nonzero value enables batching)
  377.  
  378. #hibernate.jdbc.batch_size 5
  379. #hibernate.jdbc.batch_size 0
  380.  
  381. ## enable batch updates even for versioned data
  382.  
  383. hibernate.jdbc.batch_versioned_data true
  384.  
  385. ## enable use of JDBC 2 scrollable ResultSets (specifying a Dialect will cause Hibernate to use a sensible default)
  386.  
  387. #hibernate.jdbc.use_scrollable_resultset true
  388.  
  389. ## use streams when writing binary types to / from JDBC
  390.  
  391. hibernate.jdbc.use_streams_for_binary true
  392.  
  393. ## use JDBC 3 PreparedStatement.getGeneratedKeys() to get the identifier of an inserted row
  394.  
  395. #hibernate.jdbc.use_get_generated_keys false
  396.  
  397. ## choose a custom JDBC batcher
  398.  
  399. # hibernate.jdbc.factory_class
  400.  
  401. ## enable JDBC result set column alias caching
  402. ## (minor performance enhancement for broken JDBC drivers)
  403.  
  404. # hibernate.jdbc.wrap_result_sets
  405.  
  406. ## choose a custom SQL exception converter
  407.  
  408. #hibernate.jdbc.sql_exception_converter
  409.  
  410. ##########################
  411. ### Second-level Cache ###
  412. ##########################
  413.  
  414. ## optimize cache for minimal "puts" instead of minimal "gets" (good for clustered cache)
  415.  
  416. #hibernate.cache.use_minimal_puts true
  417.  
  418. ## set a prefix for cache region names
  419.  
  420. hibernate.cache.region_prefix hibernate.test
  421.  
  422. ## disable the second-level cache
  423.  
  424. #hibernate.cache.use_second_level_cache false
  425.  
  426. ## enable the query cache
  427.  
  428. #hibernate.cache.use_query_cache true
  429.  
  430. ## store the second-level cache entries in a more human-friendly format
  431.  
  432. #hibernate.cache.use_structured_entries true
  433.  
  434. ## choose a cache implementation
  435.  
  436. #hibernate.cache.region.factory_class org.hibernate.cache.infinispan.InfinispanRegionFactory
  437. #hibernate.cache.region.factory_class org.hibernate.cache.infinispan.JndiInfinispanRegionFactory
  438. #hibernate.cache.region.factory_class org.hibernate.cache.internal.EhCacheRegionFactory
  439. #hibernate.cache.region.factory_class org.hibernate.cache.internal.SingletonEhCacheRegionFactory
  440. hibernate.cache.region.factory_class org.hibernate.cache.internal.NoCachingRegionFactory
  441.  
  442. ## choose a custom query cache implementation
  443.  
  444. #hibernate.cache.query_cache_factory
  445.  
  446. ############
  447. ### JNDI ###
  448. ############
  449.  
  450. ## specify a JNDI name for the SessionFactory
  451.  
  452. #hibernate.session_factory_name hibernate/session_factory
  453.  
  454. ## Hibernate uses JNDI to bind a name to a SessionFactory and to look up the JTA UserTransaction;
  455. ## if hibernate.jndi.* are not specified, Hibernate will use the default InitialContext() which
  456. ## is the best approach in an application server
  457.  
  458. #file system
  459. #hibernate.jndi.class com.sun.jndi.fscontext.RefFSContextFactory
  460. #hibernate.jndi.url file:/
  461.  
  462. #WebSphere
  463. #hibernate.jndi.class com.ibm.websphere.naming.WsnInitialContextFactory
  464. #hibernate.jndi.url iiop://localhost:900/
  1. <!DOCTYPE hibernate-configuration PUBLIC
  2. "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  3. "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
  4.  
  5. <hibernate-configuration>
  6. <session-factory name="foo">
  7. <property name="show_sql">true</property>
  8. <mapping resource="org/hibernate/test/legacy/Simple.hbm.xml"/>
  9. <class-cache
  10. class="org.hibernate.test.legacy.Simple"
  11. region="Simple"
  12. usage="read-write"/>
  13. </session-factory>
  14. </hibernate-configuration>

Hibernate properties文件的更多相关文章

  1. 5 -- Hibernate的基本用法 --4 2 hibernate.properties文件与hibernate.cfg.xml文件

    hibernate.properties : project\etc\hibernate.properties hibernate.cfg.xml : project\etc\hibernate.cf ...

  2. 用hibernate.properties代替hibernate.cfg.xml配置常用的属性

    我们使用hibernate时经常在hibernate.cfg.xml文件中配置数据库连接的相关属性,是否显示sql语句,数据库的方言等,这些配置其实也可以在.properties文件中配置.现在我把这 ...

  3. Hibernate使用Log4j日志记录(使用properties文件)

    我们知道,Log4j和Logback框架可用于支持日志记录hibernate,使用log4j有两种执行日志记录的方法: 通过log4j.xml文件(或) 通过log4j.properties文件 在这 ...

  4. Hibernate的dtd文件和properties文件

    hibernate-configuration-3.0.dtd <!-- Hibernate file-based configuration document. <!DOCTYPE hi ...

  5. java分享第十六天( java读取properties文件的几种方法&java配置文件持久化:static块的作用)

     java读取properties文件的几种方法一.项目中经常会需要读取配置文件(properties文件),因此读取方法总结如下: 1.通过java.util.Properties读取Propert ...

  6. JdbcTemplae使用入门&&Spring三种连接池配置&&Spring配置文件引用外部properties文件

    JdbcTemplate的使用 Spring为了各种支持的持久化技术,都提供了简单操作的模版和回调. JdbcTemplate 简化 JDBC 操作HibernateTemplate 简化 Hiber ...

  7. hibernate.properties与hibernate.cfg.xml 区别

    Hibernate的数据库连接信息是从配置文件中加载的. Hibernate的配置文件有两种形式:一种是XML格式的文件,一种是properties属性文件. 一)hibernate.cfg.xml ...

  8. hibernate.properties和hibernate.cfg.xml

    hibernate.properties和hibernate.cfg.xml 博客分类: 框架技术 HibernateXMLSQLOracleJDBC     hibernate配置文件可以有两种方式 ...

  9. sping配置文件中引入properties文件方式

    <!-- 用于引入 jdbc有配置文件参数 可以使用PropertyPlaceholderConfigurer 或者PropertyOverrideConfigurer --> <b ...

随机推荐

  1. WinRAR 5.40 & 4.20 & 3.93 的注册码 - rarreg.key

    把下面的数据复制到“记事本”中,用文件名“rarreg.key”命名该文件,保存到WinRAR安装文件夹即完成注册. 以下4个Key随便选一个复制都可以. WinRAR 5.40 版Key,复制箭头中 ...

  2. (已解决)#warning:尚未配置[微信]URL Scheme:wx4868b35061f87884, 无法使用进行授权。

    #warning:尚未配置[微信]URL Scheme:wx4868b35061f87884, 无法使用进行授权. (说白了就是注册白名单) ” -canOpenURL: failed for URL ...

  3. 图像中的stride含义

    这个不是卷积中的步长stride 是另外一个含义, stride = 每个像素所占字节数 * width input stride为我们正常进行卷积时候设置的stride值,output stride ...

  4. storm 001

    Hadoop.Storm系统和组件接口对比表: package storm; import org.apache.storm.Config; import org.apache.storm.Storm ...

  5. Steam API调试

    概览 经过这些年,Steam 已经成长为一款大型应用程序,提供多款调试用单独模块及方法.本文将尽量向您呈现这些模块与方法,帮助您充分利用 Steam 与 Steamworks,减少烦恼. Steam ...

  6. 岭回归、LASSO与LAR的几何意义

    https://blog.csdn.net/u013524655/article/details/40922303 http://f.dataguru.cn/thread-598486-1-1.htm ...

  7. BestCoder Round #55 ($)

    C 构造一个矩阵,然后采用矩阵快速幂 #include <iostream> #include <algorithm> #include <string.h> #i ...

  8. codeforces 979C Kuro and Walking Route

    题意: 给出一棵树,其中有两个点,x和y,限制走了x之后的路径上不能有y,问可以走的路径(u,v)有多少条,(u,v)和(v,u)考虑为两条不同的路径. 思路: 简单树形dp,dfs统计在x到y路径( ...

  9. File §2

    Previously speaking,File can be seen as one ducument, also can be seen as list of documents like dir ...

  10. FilenameFilter

    Introduction: java.io.FileNameFilter is a interface which is for filtering by filename, if filename ...