Başlarken
Contents
[
Hide
]
Bu sayfa, Aspose Cells for Java’yı nasıl yükleyeceğinizi ve bir Merhaba Dünya uygulaması oluşturacağınızı gösterecektir.
Sistem Gereksinimleri
Aspose.Cells for Java desteklediği Java sürümleri:
- J2SE 6.0 (1.6)
- J2SE 7.0 (1.7)
- veya üstü
Kurulum
Aspose Cells for Java’yı Maven Deposundan Yükle
Maven, Aspose.Cells for Java’yi indirmenin en kolay yoludur.
- Maven pom.xml dosyanızda Aspose Maven Deposu yapılandırmasını/yerini belirtin.
- pom.xml dosyanızda Aspose.Cells for Java API bağımlılığını tanımlayın.
Aspose Cells for Java’yı manuel olarak yükle
- Aspose-cells jar dosyalarını bir klasöre indirin.
- Klasöre girin, Eclipse veya Intellij ile JAR paketlerini el ile kurun.
Eclipse ile Aspose Cells for Java’yı kurun:
Intellij ile Aspose Cells for Java’yı kurun:
Merhaba Dünya Uygulamasını Oluşturma
Aşağıdaki adımlar, Aspose.Cells API’sini kullanarak Merhaba Dünya uygulamasını oluşturur:
This file contains 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
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java | |
// Create workbook | |
Workbook workbook = new Workbook(); | |
// Add worksheet | |
workbook.getWorksheets().add("HelloWorldPage"); | |
// Set cell value | |
workbook.getWorksheets().get("HelloWorldPage").getCells().get(0, 0).setValue("HelloWorldCell"); | |
// Save workbook | |
workbook.save("HelloWorld.xlsx"); |