Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-awesome-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9531304
my-awesome-project
Commits
920f00c8
Commit
920f00c8
authored
6 years ago
by
--global
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fourth project
parents
master
No related merge requests found
Pipeline
#309
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
Main.java
src/Main.java
+17
-0
No files found.
src/Main.java
0 → 100644
View file @
920f00c8
import
com.itextpdf.text.pdf.PdfReader
;
public
class
Main
{
public
static
void
main
(
String
[]
args
)
{
PdfReader
pdfr
;
try
{
PdfReader
pdfr
=
new
PdfReader
(
"C:\\Users\\lab2\\Desktop\\Hello.pdf"
);
int
k
=
pdfr
.
getNumberOfPages
();
System
.
out
.
println
(
k
);
System
.
out
.
println
(
pdfr
.
getNumberOfPages
());
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
e
);
e
.
printStackTrace
();
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment