how open a database with cfs, cfx ,and gen extension file? [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I need open database of a software that use this three extension: cfs, cfx, and gen. I google and understood this is a Lucene index file but I dont have any java or lucene knowledge.
Please show me simplest way to open and read text of this file.image of files

Maybe Luke can help
From the github page
Luke is the GUI tool for introspecting your Lucene / Solr / Elasticsearch index.
I don't exaclty know from where you got that database files but as far as lucene (or solr) is concerned Luke does the job of opening and viewing Lucene index.
As for the files in the screenshot
.cfs Compound File: An optional "virtual" file consisting of all the other index files for systems that frequently run out of file handles.
segments.gen segments_3 Segments File: Stores information about a commit point
Taken from: http://lucene.apache.org/core/5_5_0/core/org/apache/lucene/codecs/lucene54/package-summary.html#package_description

Related

Creating different user profiles [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am creating a game app where you need the ability to be able to create profiles for other players and store them on your phone. I have been looking around for help, but I can't seem to find any tutorial or help for this. Does anyone know which aspect of java I need to research and learn about? I have seen that it might be to do with App-specific files but I'm not sure if that is the right thing.
You can store user information in files (XML / JSON format). You can use the database too - Android supports SQLite (SQLlite database is stored as single file). Android creates files in private folder, other applications cannot access them.
More informations about files:
https://developer.android.com/training/data-storage
Example of usage of SQLite:
https://developer.android.com/training/data-storage/sqlite
Remember not to store user sensitive data in plaintext.

the purpose of .bak files in java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am new to Java development and just saw a file with .bak extension that looks like a java class but it is not. So I am wondering what is the purpose of the .bak files in general and why and when should I use it?
There is no special purpose for java files (or tooling here).
bak typically resorts to backup.
Such files get generated by various tools. These tools create bak files to avoid overwriting your original file. So there is no specific notion towards "java technology" here.
Simply look into the tools (mainly: your editor), and see if their help tells you about automatically creating backup file. The old Windows notepad editor did that for example.

Can I use a program via java? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My question is simple:
Is it possible to use a program via Java? Meaning, can I for example code in java exactly what I want my Microsoft Word file do? Add paragraphs, lists,import a picture, etc?
Short answer: Yes. Some programs allow you to use scripts and such, that is the beauty of open source software.
To actually edit the document you can use Apache POI which is an API for Microsoft Documents. Granted it cannot handle .docx but simple text documents. You may also want to take a look at docx4java which supports .docx, .pptx and .xlsx files.

Connection between server and client [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
In our organization, We have one server in which one folder Log/Response is there. In this folder so many files will be there (XML file). Now I want to write a program to find all XML files which has a 'keyword' in Java, if possible. And after finding all such file it should return all files name. Here 'keyword' will be given from client (means user will open one URL/keyword from his browser).
So how can I achieve this thing? Which technology, language and tool I need to use? If I write a program then where exactly I should put it?
You can start from JSP/Servlet as starting point. JSP/Servlet will be communication point between user and server infrastructure where a list of files is located.
To search necessary file: as simple solution you can scan all files in necessary directory. But it will be slow. As more advanced solution, you should use some full text search engine(search will be fast).
Of course, JSP/Servlet will be deployed in servlet container such as Jetty or Tomcat.
That is all :)

Building a database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am attempting to build a database that will allow a user to upload their music to be accessed by someone else/third party. How would I create it so that the music can be uploaded to a database but providing a path for it to be accessed from where it is stored?
As in A Band upload “Song” and it is then streamed by A Fan.
If it can't upload to a database I need to upload it to a server.
We are building the back end in Java and the front end in HTML.
We are also using Glassfish and Netbeans for writing the code.
You can store files in a BLOB field in a database for example. Another possibility would be to store them directly on the file system, but it has its problems (such as the lack of metadata).
Then you'll need to figure how you want to map each file, for example http://myserver.com/Artist/Album/Songname or http://myserver.com/listen?uniqueid=743.
File upload servlets are available all over the web, so that shouldn't be a problem. The rest is up to your programming skills (this might be too big of a project for you).
Then you'll just need to connect those things together, and that's the part where you start to program (or hit the Google hard).

Categories

Resources