English 中文(简体)
Java - 两条 g
原标题:Java - Separate two gzip Strings

我有两个优势。 例如,“pple”和“纽顿”。 我分别用 g子压缩,并加入由此产生的红灯,在档案中储存。 然后,我检索档案中的内容。 当我一心一意孤行时,我会得出确切的结果。 但是,我想找到每个设想的长处。 这样做是可能的。

这是因为我储存大量数据。 i 利用缓冲规模进行检索。 当我直接试图揭穿时,我就接受了EOFException。 如果我能够获得《平等就业机会法》,我可以run开不想要的那部分,然后解冻所需内容。

问题回答

在加入两条指示之前使用任何限定性,例如空间或 com,以便你能够承认每一条指示的终结。

当你把整个扼杀在一起时,你将像这一“pple,纽顿”一样取得成果。

Now use split() method of String class to get the individual strings.

String[] strings = totalString.split("," , 0);

你可以把“pple”、“纽顿”作为两个单独的“强硬物储存,另一个物体将这两条分开。 当你读物时,你可以比较哪类物体。 这样,你就能够轻易发现分离物体。

The inflater has a method isFinished() which stops at boundaries. i basically wrote a class to extend the GzipinputStream and get back the inflater object. Whenever there is a part stream which is completed isFinished returns true. you can either continue reading or stop there





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签